@oursprivacy/platform-sdk 1.55.0 → 1.57.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 +15 -6
- package/client.d.mts.map +1 -1
- package/client.d.ts +15 -6
- package/client.d.ts.map +1 -1
- package/client.js +9 -0
- package/client.js.map +1 -1
- package/client.mjs +9 -0
- package/client.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs.map +1 -1
- package/package.json +4 -2
- package/resources/consent-settings.d.mts +90 -1
- package/resources/consent-settings.d.mts.map +1 -1
- package/resources/consent-settings.d.ts +90 -1
- package/resources/consent-settings.d.ts.map +1 -1
- package/resources/consent-settings.js +13 -0
- package/resources/consent-settings.js.map +1 -1
- package/resources/consent-settings.mjs +13 -0
- package/resources/consent-settings.mjs.map +1 -1
- package/resources/custom-domains.d.mts +10 -4
- package/resources/custom-domains.d.mts.map +1 -1
- package/resources/custom-domains.d.ts +10 -4
- package/resources/custom-domains.d.ts.map +1 -1
- package/resources/custom-domains.js +3 -2
- package/resources/custom-domains.js.map +1 -1
- package/resources/custom-domains.mjs +3 -2
- package/resources/custom-domains.mjs.map +1 -1
- package/resources/dashboards.d.mts +4737 -0
- package/resources/dashboards.d.mts.map +1 -0
- package/resources/dashboards.d.ts +4737 -0
- package/resources/dashboards.d.ts.map +1 -0
- package/resources/dashboards.js +124 -0
- package/resources/dashboards.js.map +1 -0
- package/resources/dashboards.mjs +120 -0
- package/resources/dashboards.mjs.map +1 -0
- package/resources/data-governance.d.mts +19 -26
- package/resources/data-governance.d.mts.map +1 -1
- package/resources/data-governance.d.ts +19 -26
- package/resources/data-governance.d.ts.map +1 -1
- package/resources/data-governance.js +14 -13
- package/resources/data-governance.js.map +1 -1
- package/resources/data-governance.mjs +14 -13
- package/resources/data-governance.mjs.map +1 -1
- package/resources/destinations.d.mts +46 -11
- package/resources/destinations.d.mts.map +1 -1
- package/resources/destinations.d.ts +46 -11
- package/resources/destinations.d.ts.map +1 -1
- package/resources/experiment-settings.d.mts +84 -24
- package/resources/experiment-settings.d.mts.map +1 -1
- package/resources/experiment-settings.d.ts +84 -24
- package/resources/experiment-settings.d.ts.map +1 -1
- package/resources/experiment-settings.js +9 -4
- package/resources/experiment-settings.js.map +1 -1
- package/resources/experiment-settings.mjs +9 -4
- package/resources/experiment-settings.mjs.map +1 -1
- package/resources/funnels.d.mts +64 -7
- package/resources/funnels.d.mts.map +1 -1
- package/resources/funnels.d.ts +64 -7
- package/resources/funnels.d.ts.map +1 -1
- package/resources/funnels.js +2 -1
- package/resources/funnels.js.map +1 -1
- package/resources/funnels.mjs +2 -1
- package/resources/funnels.mjs.map +1 -1
- package/resources/index.d.mts +6 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +6 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +7 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -0
- package/resources/index.mjs.map +1 -1
- package/resources/insights.d.mts +1152 -0
- package/resources/insights.d.mts.map +1 -0
- package/resources/insights.d.ts +1152 -0
- package/resources/insights.d.ts.map +1 -0
- package/resources/insights.js +81 -0
- package/resources/insights.js.map +1 -0
- package/resources/insights.mjs +77 -0
- package/resources/insights.mjs.map +1 -0
- package/resources/journey-flows.d.mts +214 -17
- package/resources/journey-flows.d.mts.map +1 -1
- package/resources/journey-flows.d.ts +214 -17
- package/resources/journey-flows.d.ts.map +1 -1
- package/resources/journey-flows.js +17 -13
- package/resources/journey-flows.js.map +1 -1
- package/resources/journey-flows.mjs +17 -13
- package/resources/journey-flows.mjs.map +1 -1
- package/resources/replay-settings.d.mts +72 -42
- package/resources/replay-settings.d.mts.map +1 -1
- package/resources/replay-settings.d.ts +72 -42
- package/resources/replay-settings.d.ts.map +1 -1
- package/resources/replay-settings.js +12 -7
- package/resources/replay-settings.js.map +1 -1
- package/resources/replay-settings.mjs +12 -7
- package/resources/replay-settings.mjs.map +1 -1
- package/resources/report-branding.d.mts +157 -0
- package/resources/report-branding.d.mts.map +1 -0
- package/resources/report-branding.d.ts +157 -0
- package/resources/report-branding.d.ts.map +1 -0
- package/resources/report-branding.js +39 -0
- package/resources/report-branding.js.map +1 -0
- package/resources/report-branding.mjs +35 -0
- package/resources/report-branding.mjs.map +1 -0
- package/resources/tag-manager-triggers.d.mts +46 -4
- package/resources/tag-manager-triggers.d.mts.map +1 -1
- package/resources/tag-manager-triggers.d.ts +46 -4
- package/resources/tag-manager-triggers.d.ts.map +1 -1
- package/resources/tag-manager-triggers.js +6 -4
- package/resources/tag-manager-triggers.js.map +1 -1
- package/resources/tag-manager-triggers.mjs +6 -4
- package/resources/tag-manager-triggers.mjs.map +1 -1
- package/resources/tag-manager-variables.d.mts +25 -13
- package/resources/tag-manager-variables.d.mts.map +1 -1
- package/resources/tag-manager-variables.d.ts +25 -13
- package/resources/tag-manager-variables.d.ts.map +1 -1
- package/resources/tag-manager-variables.js +9 -4
- package/resources/tag-manager-variables.js.map +1 -1
- package/resources/tag-manager-variables.mjs +9 -4
- package/resources/tag-manager-variables.mjs.map +1 -1
- package/resources/tag-managers.d.mts +17 -1
- package/resources/tag-managers.d.mts.map +1 -1
- package/resources/tag-managers.d.ts +17 -1
- package/resources/tag-managers.d.ts.map +1 -1
- package/resources/tag-managers.js +10 -0
- package/resources/tag-managers.js.map +1 -1
- package/resources/tag-managers.mjs +10 -0
- package/resources/tag-managers.mjs.map +1 -1
- package/resources/test-events.d.mts +28 -13
- package/resources/test-events.d.mts.map +1 -1
- package/resources/test-events.d.ts +28 -13
- package/resources/test-events.d.ts.map +1 -1
- package/resources/versions.d.mts +607 -139
- package/resources/versions.d.mts.map +1 -1
- package/resources/versions.d.ts +607 -139
- package/resources/versions.d.ts.map +1 -1
- package/resources/versions.js +2 -0
- package/resources/versions.js.map +1 -1
- package/resources/versions.mjs +2 -0
- package/resources/versions.mjs.map +1 -1
- package/resources/web-analytics.d.mts +91 -39
- package/resources/web-analytics.d.mts.map +1 -1
- package/resources/web-analytics.d.ts +91 -39
- package/resources/web-analytics.d.ts.map +1 -1
- package/resources/web-analytics.js +11 -0
- package/resources/web-analytics.js.map +1 -1
- package/resources/web-analytics.mjs +11 -0
- package/resources/web-analytics.mjs.map +1 -1
- package/resources/web-scanners.d.mts +3 -2
- package/resources/web-scanners.d.mts.map +1 -1
- package/resources/web-scanners.d.ts +3 -2
- package/resources/web-scanners.d.ts.map +1 -1
- package/resources/web-scanners.js +3 -2
- package/resources/web-scanners.js.map +1 -1
- package/resources/web-scanners.mjs +3 -2
- package/resources/web-scanners.mjs.map +1 -1
- package/src/client.ts +118 -3
- package/src/internal/utils/log.ts +1 -3
- package/src/resources/consent-settings.ts +117 -0
- package/src/resources/custom-domains.ts +14 -4
- package/src/resources/dashboards.ts +8757 -0
- package/src/resources/data-governance.ts +19 -26
- package/src/resources/destinations.ts +50 -6
- package/src/resources/experiment-settings.ts +84 -24
- package/src/resources/funnels.ts +64 -7
- package/src/resources/index.ts +54 -0
- package/src/resources/insights.ts +1976 -0
- package/src/resources/journey-flows.ts +214 -17
- package/src/resources/replay-settings.ts +77 -42
- package/src/resources/report-branding.ts +207 -0
- package/src/resources/tag-manager-triggers.ts +55 -4
- package/src/resources/tag-manager-variables.ts +25 -13
- package/src/resources/tag-managers.ts +21 -0
- package/src/resources/test-events.ts +30 -13
- package/src/resources/versions.ts +777 -139
- package/src/resources/web-analytics.ts +137 -38
- package/src/resources/web-scanners.ts +3 -2
- 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
|
@@ -13,13 +13,15 @@ export declare class ReplaySettings extends APIResource {
|
|
|
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.
|
|
17
|
-
* OAuth user
|
|
16
|
+
* the reason in the response `error` field. Publish with `POST /versions` for the
|
|
17
|
+
* configuration to take effect. Requires API-key scope or current OAuth user
|
|
18
|
+
* permission: replaySettings:create
|
|
18
19
|
*/
|
|
19
20
|
create(body: ReplaySettingCreateParams, options?: RequestOptions): APIPromise<ReplaySettingCreateResponse>;
|
|
20
21
|
/**
|
|
21
|
-
* Fetch a single replay configuration by ID, including its whitelisted domains
|
|
22
|
-
* custom domain.
|
|
22
|
+
* Fetch a single replay configuration by ID, including its whitelisted domains,
|
|
23
|
+
* custom domain, and public replay pixel token. Returns HTTP 404 when it does not
|
|
24
|
+
* exist. Requires API-key scope or current OAuth user permission:
|
|
23
25
|
* replaySettings:find
|
|
24
26
|
*/
|
|
25
27
|
retrieve(id: string, options?: RequestOptions): APIPromise<ReplaySettingRetrieveResponse | null>;
|
|
@@ -27,13 +29,16 @@ export declare class ReplaySettings extends APIResource {
|
|
|
27
29
|
* Update one or more fields on an existing replay configuration. Only the fields
|
|
28
30
|
* you send are changed; omitted fields keep their current value. Note that
|
|
29
31
|
* `whitelistDomains` is replaced wholesale (not merged with the existing list).
|
|
32
|
+
* Null leaves `name`, `status`, and `whitelistDomains` unchanged; null clears
|
|
33
|
+
* `customDomain`. Publish with `POST /versions` for changes to take effect.
|
|
30
34
|
* Requires API-key scope or current OAuth user permission: replaySettings:update
|
|
31
35
|
*/
|
|
32
36
|
update(id: string, body: ReplaySettingUpdateParams, options?: RequestOptions): APIPromise<ReplaySettingUpdateResponse>;
|
|
33
37
|
/**
|
|
34
|
-
* Delete the replay configuration
|
|
35
|
-
* domains.
|
|
36
|
-
*
|
|
38
|
+
* Delete the replay configuration from the draft. Publish with `POST /versions`
|
|
39
|
+
* for capture to stop on all whitelisted domains. Returns the same HTTP 404 when
|
|
40
|
+
* the configuration is missing or inaccessible. Requires API-key scope or current
|
|
41
|
+
* OAuth user permission: replaySettings:delete
|
|
37
42
|
*/
|
|
38
43
|
delete(id: string, options?: RequestOptions): APIPromise<ReplaySettingDeleteResponse>;
|
|
39
44
|
}
|
|
@@ -49,13 +54,18 @@ export interface ReplaySettingListResponse {
|
|
|
49
54
|
createdAt: string;
|
|
50
55
|
/**
|
|
51
56
|
* Human-readable label for this replay configuration. Shown in the dashboard. May
|
|
52
|
-
* be empty.
|
|
57
|
+
* be empty. On PATCH, `null` leaves it unchanged.
|
|
53
58
|
*/
|
|
54
59
|
name: string;
|
|
60
|
+
/**
|
|
61
|
+
* Server-assigned public replay token used by the browser SDK to start session
|
|
62
|
+
* replay capture.
|
|
63
|
+
*/
|
|
64
|
+
pixel: string;
|
|
55
65
|
/**
|
|
56
66
|
* Whether session replay capture is currently active. Set to "Enabled" to start
|
|
57
67
|
* capturing replays from whitelisted domains, or "Disabled" to pause capture
|
|
58
|
-
* without losing the configuration.
|
|
68
|
+
* without losing the configuration. On PATCH, `null` leaves it unchanged.
|
|
59
69
|
*/
|
|
60
70
|
status: 'Disabled' | 'Enabled';
|
|
61
71
|
/**
|
|
@@ -68,9 +78,9 @@ export interface ReplaySettingListResponse {
|
|
|
68
78
|
*/
|
|
69
79
|
updatedAt?: string | null;
|
|
70
80
|
/**
|
|
71
|
-
*
|
|
72
|
-
* host not in this list are dropped. PATCH replaces the
|
|
73
|
-
* not merged.
|
|
81
|
+
* Bare hostnames (e.g. `example.com`) where session replay capture is permitted.
|
|
82
|
+
* Replays initiated from any host not in this list are dropped. PATCH replaces the
|
|
83
|
+
* list; partial updates are not merged. On PATCH, `null` leaves it unchanged.
|
|
74
84
|
*/
|
|
75
85
|
whitelistDomains?: Array<string> | null;
|
|
76
86
|
}
|
|
@@ -91,13 +101,18 @@ export declare namespace ReplaySettingCreateResponse {
|
|
|
91
101
|
createdAt: string;
|
|
92
102
|
/**
|
|
93
103
|
* Human-readable label for this replay configuration. Shown in the dashboard. May
|
|
94
|
-
* be empty.
|
|
104
|
+
* be empty. On PATCH, `null` leaves it unchanged.
|
|
95
105
|
*/
|
|
96
106
|
name: string;
|
|
107
|
+
/**
|
|
108
|
+
* Server-assigned public replay token used by the browser SDK to start session
|
|
109
|
+
* replay capture.
|
|
110
|
+
*/
|
|
111
|
+
pixel: string;
|
|
97
112
|
/**
|
|
98
113
|
* Whether session replay capture is currently active. Set to "Enabled" to start
|
|
99
114
|
* capturing replays from whitelisted domains, or "Disabled" to pause capture
|
|
100
|
-
* without losing the configuration.
|
|
115
|
+
* without losing the configuration. On PATCH, `null` leaves it unchanged.
|
|
101
116
|
*/
|
|
102
117
|
status: 'Disabled' | 'Enabled';
|
|
103
118
|
/**
|
|
@@ -110,9 +125,9 @@ export declare namespace ReplaySettingCreateResponse {
|
|
|
110
125
|
*/
|
|
111
126
|
updatedAt?: string | null;
|
|
112
127
|
/**
|
|
113
|
-
*
|
|
114
|
-
* host not in this list are dropped. PATCH replaces the
|
|
115
|
-
* not merged.
|
|
128
|
+
* Bare hostnames (e.g. `example.com`) where session replay capture is permitted.
|
|
129
|
+
* Replays initiated from any host not in this list are dropped. PATCH replaces the
|
|
130
|
+
* list; partial updates are not merged. On PATCH, `null` leaves it unchanged.
|
|
116
131
|
*/
|
|
117
132
|
whitelistDomains?: Array<string> | null;
|
|
118
133
|
}
|
|
@@ -128,13 +143,18 @@ export interface ReplaySettingRetrieveResponse {
|
|
|
128
143
|
createdAt: string;
|
|
129
144
|
/**
|
|
130
145
|
* Human-readable label for this replay configuration. Shown in the dashboard. May
|
|
131
|
-
* be empty.
|
|
146
|
+
* be empty. On PATCH, `null` leaves it unchanged.
|
|
132
147
|
*/
|
|
133
148
|
name: string;
|
|
149
|
+
/**
|
|
150
|
+
* Server-assigned public replay token used by the browser SDK to start session
|
|
151
|
+
* replay capture.
|
|
152
|
+
*/
|
|
153
|
+
pixel: string;
|
|
134
154
|
/**
|
|
135
155
|
* Whether session replay capture is currently active. Set to "Enabled" to start
|
|
136
156
|
* capturing replays from whitelisted domains, or "Disabled" to pause capture
|
|
137
|
-
* without losing the configuration.
|
|
157
|
+
* without losing the configuration. On PATCH, `null` leaves it unchanged.
|
|
138
158
|
*/
|
|
139
159
|
status: 'Disabled' | 'Enabled';
|
|
140
160
|
/**
|
|
@@ -147,9 +167,9 @@ export interface ReplaySettingRetrieveResponse {
|
|
|
147
167
|
*/
|
|
148
168
|
updatedAt?: string | null;
|
|
149
169
|
/**
|
|
150
|
-
*
|
|
151
|
-
* host not in this list are dropped. PATCH replaces the
|
|
152
|
-
* not merged.
|
|
170
|
+
* Bare hostnames (e.g. `example.com`) where session replay capture is permitted.
|
|
171
|
+
* Replays initiated from any host not in this list are dropped. PATCH replaces the
|
|
172
|
+
* list; partial updates are not merged. On PATCH, `null` leaves it unchanged.
|
|
153
173
|
*/
|
|
154
174
|
whitelistDomains?: Array<string> | null;
|
|
155
175
|
}
|
|
@@ -170,13 +190,18 @@ export declare namespace ReplaySettingUpdateResponse {
|
|
|
170
190
|
createdAt: string;
|
|
171
191
|
/**
|
|
172
192
|
* Human-readable label for this replay configuration. Shown in the dashboard. May
|
|
173
|
-
* be empty.
|
|
193
|
+
* be empty. On PATCH, `null` leaves it unchanged.
|
|
174
194
|
*/
|
|
175
195
|
name: string;
|
|
196
|
+
/**
|
|
197
|
+
* Server-assigned public replay token used by the browser SDK to start session
|
|
198
|
+
* replay capture.
|
|
199
|
+
*/
|
|
200
|
+
pixel: string;
|
|
176
201
|
/**
|
|
177
202
|
* Whether session replay capture is currently active. Set to "Enabled" to start
|
|
178
203
|
* capturing replays from whitelisted domains, or "Disabled" to pause capture
|
|
179
|
-
* without losing the configuration.
|
|
204
|
+
* without losing the configuration. On PATCH, `null` leaves it unchanged.
|
|
180
205
|
*/
|
|
181
206
|
status: 'Disabled' | 'Enabled';
|
|
182
207
|
/**
|
|
@@ -189,9 +214,9 @@ export declare namespace ReplaySettingUpdateResponse {
|
|
|
189
214
|
*/
|
|
190
215
|
updatedAt?: string | null;
|
|
191
216
|
/**
|
|
192
|
-
*
|
|
193
|
-
* host not in this list are dropped. PATCH replaces the
|
|
194
|
-
* not merged.
|
|
217
|
+
* Bare hostnames (e.g. `example.com`) where session replay capture is permitted.
|
|
218
|
+
* Replays initiated from any host not in this list are dropped. PATCH replaces the
|
|
219
|
+
* list; partial updates are not merged. On PATCH, `null` leaves it unchanged.
|
|
195
220
|
*/
|
|
196
221
|
whitelistDomains?: Array<string> | null;
|
|
197
222
|
}
|
|
@@ -213,13 +238,18 @@ export declare namespace ReplaySettingDeleteResponse {
|
|
|
213
238
|
createdAt: string;
|
|
214
239
|
/**
|
|
215
240
|
* Human-readable label for this replay configuration. Shown in the dashboard. May
|
|
216
|
-
* be empty.
|
|
241
|
+
* be empty. On PATCH, `null` leaves it unchanged.
|
|
217
242
|
*/
|
|
218
243
|
name: string;
|
|
244
|
+
/**
|
|
245
|
+
* Server-assigned public replay token used by the browser SDK to start session
|
|
246
|
+
* replay capture.
|
|
247
|
+
*/
|
|
248
|
+
pixel: string;
|
|
219
249
|
/**
|
|
220
250
|
* Whether session replay capture is currently active. Set to "Enabled" to start
|
|
221
251
|
* capturing replays from whitelisted domains, or "Disabled" to pause capture
|
|
222
|
-
* without losing the configuration.
|
|
252
|
+
* without losing the configuration. On PATCH, `null` leaves it unchanged.
|
|
223
253
|
*/
|
|
224
254
|
status: 'Disabled' | 'Enabled';
|
|
225
255
|
/**
|
|
@@ -232,9 +262,9 @@ export declare namespace ReplaySettingDeleteResponse {
|
|
|
232
262
|
*/
|
|
233
263
|
updatedAt?: string | null;
|
|
234
264
|
/**
|
|
235
|
-
*
|
|
236
|
-
* host not in this list are dropped. PATCH replaces the
|
|
237
|
-
* not merged.
|
|
265
|
+
* Bare hostnames (e.g. `example.com`) where session replay capture is permitted.
|
|
266
|
+
* Replays initiated from any host not in this list are dropped. PATCH replaces the
|
|
267
|
+
* list; partial updates are not merged. On PATCH, `null` leaves it unchanged.
|
|
238
268
|
*/
|
|
239
269
|
whitelistDomains?: Array<string> | null;
|
|
240
270
|
}
|
|
@@ -249,19 +279,19 @@ export interface ReplaySettingCreateParams {
|
|
|
249
279
|
customDomain?: string | null;
|
|
250
280
|
/**
|
|
251
281
|
* Human-readable label for this replay configuration. Shown in the dashboard. May
|
|
252
|
-
* be empty.
|
|
282
|
+
* be empty. On PATCH, `null` leaves it unchanged.
|
|
253
283
|
*/
|
|
254
284
|
name?: string | null;
|
|
255
285
|
/**
|
|
256
286
|
* Whether session replay capture is currently active. Set to "Enabled" to start
|
|
257
287
|
* capturing replays from whitelisted domains, or "Disabled" to pause capture
|
|
258
|
-
* without losing the configuration.
|
|
288
|
+
* without losing the configuration. On PATCH, `null` leaves it unchanged.
|
|
259
289
|
*/
|
|
260
290
|
status?: 'Disabled' | 'Enabled' | null;
|
|
261
291
|
/**
|
|
262
|
-
*
|
|
263
|
-
* host not in this list are dropped. PATCH replaces the
|
|
264
|
-
* not merged.
|
|
292
|
+
* Bare hostnames (e.g. `example.com`) where session replay capture is permitted.
|
|
293
|
+
* Replays initiated from any host not in this list are dropped. PATCH replaces the
|
|
294
|
+
* list; partial updates are not merged. On PATCH, `null` leaves it unchanged.
|
|
265
295
|
*/
|
|
266
296
|
whitelistDomains?: Array<string> | null;
|
|
267
297
|
}
|
|
@@ -273,19 +303,19 @@ export interface ReplaySettingUpdateParams {
|
|
|
273
303
|
customDomain?: string | null;
|
|
274
304
|
/**
|
|
275
305
|
* Human-readable label for this replay configuration. Shown in the dashboard. May
|
|
276
|
-
* be empty.
|
|
306
|
+
* be empty. On PATCH, `null` leaves it unchanged.
|
|
277
307
|
*/
|
|
278
308
|
name?: string | null;
|
|
279
309
|
/**
|
|
280
310
|
* Whether session replay capture is currently active. Set to "Enabled" to start
|
|
281
311
|
* capturing replays from whitelisted domains, or "Disabled" to pause capture
|
|
282
|
-
* without losing the configuration.
|
|
312
|
+
* without losing the configuration. On PATCH, `null` leaves it unchanged.
|
|
283
313
|
*/
|
|
284
314
|
status?: 'Disabled' | 'Enabled' | null;
|
|
285
315
|
/**
|
|
286
|
-
*
|
|
287
|
-
* host not in this list are dropped. PATCH replaces the
|
|
288
|
-
* not merged.
|
|
316
|
+
* Bare hostnames (e.g. `example.com`) where session replay capture is permitted.
|
|
317
|
+
* Replays initiated from any host not in this list are dropped. PATCH replaces the
|
|
318
|
+
* list; partial updates are not merged. On PATCH, `null` leaves it unchanged.
|
|
289
319
|
*/
|
|
290
320
|
whitelistDomains?: Array<string> | null;
|
|
291
321
|
}
|
|
@@ -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;;;;;;OAMG;IACH,MAAM,CAAC,IAAI,EAAE,yBAAyB,EA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AC,EAAE,UAAU,GAAG,SAAS,GAAG,IAAI,CAAC;IAEvC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;CACzC;AAED,MAAM,WAAW,yBAAyB;IACxC;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE7B;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB;;;;OAIG;IACH,MAAM,CAAC,EAAE,UAAU,GAAG,SAAS,GAAG,IAAI,CAAC;IAEvC;;;;OAIG;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"}
|
|
@@ -21,15 +21,17 @@ 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.
|
|
25
|
-
* OAuth user
|
|
24
|
+
* the reason in the response `error` field. Publish with `POST /versions` for the
|
|
25
|
+
* configuration to take effect. Requires API-key scope or current OAuth user
|
|
26
|
+
* permission: replaySettings:create
|
|
26
27
|
*/
|
|
27
28
|
create(body, options) {
|
|
28
29
|
return this._client.post('/rest/v1/replay-settings', { body, ...options });
|
|
29
30
|
}
|
|
30
31
|
/**
|
|
31
|
-
* Fetch a single replay configuration by ID, including its whitelisted domains
|
|
32
|
-
* custom domain.
|
|
32
|
+
* Fetch a single replay configuration by ID, including its whitelisted domains,
|
|
33
|
+
* custom domain, and public replay pixel token. Returns HTTP 404 when it does not
|
|
34
|
+
* exist. Requires API-key scope or current OAuth user permission:
|
|
33
35
|
* replaySettings:find
|
|
34
36
|
*/
|
|
35
37
|
retrieve(id, options) {
|
|
@@ -39,15 +41,18 @@ class ReplaySettings extends resource_1.APIResource {
|
|
|
39
41
|
* Update one or more fields on an existing replay configuration. Only the fields
|
|
40
42
|
* you send are changed; omitted fields keep their current value. Note that
|
|
41
43
|
* `whitelistDomains` is replaced wholesale (not merged with the existing list).
|
|
44
|
+
* Null leaves `name`, `status`, and `whitelistDomains` unchanged; null clears
|
|
45
|
+
* `customDomain`. Publish with `POST /versions` for changes to take effect.
|
|
42
46
|
* Requires API-key scope or current OAuth user permission: replaySettings:update
|
|
43
47
|
*/
|
|
44
48
|
update(id, body, options) {
|
|
45
49
|
return this._client.patch((0, path_1.path) `/rest/v1/replay-settings/${id}`, { body, ...options });
|
|
46
50
|
}
|
|
47
51
|
/**
|
|
48
|
-
* Delete the replay configuration
|
|
49
|
-
* domains.
|
|
50
|
-
*
|
|
52
|
+
* Delete the replay configuration from the draft. Publish with `POST /versions`
|
|
53
|
+
* for capture to stop on all whitelisted domains. Returns the same HTTP 404 when
|
|
54
|
+
* the configuration is missing or inaccessible. Requires API-key scope or current
|
|
55
|
+
* OAuth user permission: replaySettings:delete
|
|
51
56
|
*/
|
|
52
57
|
delete(id, options) {
|
|
53
58
|
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,oDA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,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;AA/DD,wCA+DC"}
|
|
@@ -18,15 +18,17 @@ 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.
|
|
22
|
-
* OAuth user
|
|
21
|
+
* the reason in the response `error` field. Publish with `POST /versions` for the
|
|
22
|
+
* configuration to take effect. Requires API-key scope or current OAuth user
|
|
23
|
+
* permission: replaySettings:create
|
|
23
24
|
*/
|
|
24
25
|
create(body, options) {
|
|
25
26
|
return this._client.post('/rest/v1/replay-settings', { body, ...options });
|
|
26
27
|
}
|
|
27
28
|
/**
|
|
28
|
-
* Fetch a single replay configuration by ID, including its whitelisted domains
|
|
29
|
-
* custom domain.
|
|
29
|
+
* Fetch a single replay configuration by ID, including its whitelisted domains,
|
|
30
|
+
* custom domain, and public replay pixel token. Returns HTTP 404 when it does not
|
|
31
|
+
* exist. Requires API-key scope or current OAuth user permission:
|
|
30
32
|
* replaySettings:find
|
|
31
33
|
*/
|
|
32
34
|
retrieve(id, options) {
|
|
@@ -36,15 +38,18 @@ export class ReplaySettings extends APIResource {
|
|
|
36
38
|
* Update one or more fields on an existing replay configuration. Only the fields
|
|
37
39
|
* you send are changed; omitted fields keep their current value. Note that
|
|
38
40
|
* `whitelistDomains` is replaced wholesale (not merged with the existing list).
|
|
41
|
+
* Null leaves `name`, `status`, and `whitelistDomains` unchanged; null clears
|
|
42
|
+
* `customDomain`. Publish with `POST /versions` for changes to take effect.
|
|
39
43
|
* Requires API-key scope or current OAuth user permission: replaySettings:update
|
|
40
44
|
*/
|
|
41
45
|
update(id, body, options) {
|
|
42
46
|
return this._client.patch(path `/rest/v1/replay-settings/${id}`, { body, ...options });
|
|
43
47
|
}
|
|
44
48
|
/**
|
|
45
|
-
* Delete the replay configuration
|
|
46
|
-
* domains.
|
|
47
|
-
*
|
|
49
|
+
* Delete the replay configuration from the draft. Publish with `POST /versions`
|
|
50
|
+
* for capture to stop on all whitelisted domains. Returns the same HTTP 404 when
|
|
51
|
+
* the configuration is missing or inaccessible. Requires API-key scope or current
|
|
52
|
+
* OAuth user permission: replaySettings:delete
|
|
48
53
|
*/
|
|
49
54
|
delete(id, options) {
|
|
50
55
|
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;;;;;;OAMG;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;;;;;OAKG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,4BAA4B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CACJ,EAAU,EACV,IAA+B,EAC/B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,4BAA4B,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxF,CAAC;IAED;;;;;OAKG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,4BAA4B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;CACF"}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
|
+
export declare class ReportBranding extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get the organization logo shown on Dashboards and Dashboard PDFs. Returns {
|
|
7
|
+
* logo: null } when no logo is set. Pass includeDataUrl=false to omit the image
|
|
8
|
+
* data and read only its format, dimensions, size, and update time. Requires
|
|
9
|
+
* Analytics Suite access. Requires API-key scope or current OAuth user permission:
|
|
10
|
+
* web-analytics:view
|
|
11
|
+
*/
|
|
12
|
+
retrieve(query?: ReportBrandingRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<ReportBrandingRetrieveResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* Replace the organization logo used on Dashboards and Dashboard PDFs. Send
|
|
15
|
+
* contentType and base64 data for a PNG, JPEG, or WebP image of at most 524288
|
|
16
|
+
* bytes and 4096 pixels in each dimension. The bytes must match contentType; SVG
|
|
17
|
+
* is not accepted, so rasterize vector logos first. Requires Analytics Suite
|
|
18
|
+
* access and organization:manage-report-branding. Requires API-key scope or
|
|
19
|
+
* current OAuth user permission: organization:manage-report-branding
|
|
20
|
+
*/
|
|
21
|
+
replace(body: ReportBrandingReplaceParams, options?: RequestOptions): APIPromise<ReportBrandingReplaceResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Remove the organization logo from Dashboards and Dashboard PDFs. Succeeds when
|
|
24
|
+
* no logo is set. Requires Analytics Suite access and
|
|
25
|
+
* organization:manage-report-branding. Requires API-key scope or current OAuth
|
|
26
|
+
* user permission: organization:manage-report-branding
|
|
27
|
+
*/
|
|
28
|
+
delete(options?: RequestOptions): APIPromise<ReportBrandingDeleteResponse>;
|
|
29
|
+
}
|
|
30
|
+
export interface ReportBrandingRetrieveResponse {
|
|
31
|
+
/**
|
|
32
|
+
* Organization logo shown on Dashboards and Dashboard PDFs, or null when none is
|
|
33
|
+
* set.
|
|
34
|
+
*/
|
|
35
|
+
logo: ReportBrandingRetrieveResponse.Logo | null;
|
|
36
|
+
}
|
|
37
|
+
export declare namespace ReportBrandingRetrieveResponse {
|
|
38
|
+
/**
|
|
39
|
+
* Organization logo shown on Dashboards and Dashboard PDFs, or null when none is
|
|
40
|
+
* set.
|
|
41
|
+
*/
|
|
42
|
+
interface Logo {
|
|
43
|
+
/**
|
|
44
|
+
* Decoded image size in bytes.
|
|
45
|
+
*/
|
|
46
|
+
byteSize: number;
|
|
47
|
+
contentType: 'image/png' | 'image/jpeg' | 'image/webp';
|
|
48
|
+
/**
|
|
49
|
+
* Image height in pixels.
|
|
50
|
+
*/
|
|
51
|
+
height: number;
|
|
52
|
+
updatedAt: string;
|
|
53
|
+
updatedByUserId: string;
|
|
54
|
+
/**
|
|
55
|
+
* Image width in pixels.
|
|
56
|
+
*/
|
|
57
|
+
width: number;
|
|
58
|
+
/**
|
|
59
|
+
* data: URL containing the base64 image. Returned by GET unless includeDataUrl is
|
|
60
|
+
* false; omitted from write responses.
|
|
61
|
+
*/
|
|
62
|
+
dataUrl?: string;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
export interface ReportBrandingReplaceResponse {
|
|
66
|
+
/**
|
|
67
|
+
* Organization logo shown on Dashboards and Dashboard PDFs, or null when none is
|
|
68
|
+
* set.
|
|
69
|
+
*/
|
|
70
|
+
logo: ReportBrandingReplaceResponse.Logo | null;
|
|
71
|
+
}
|
|
72
|
+
export declare namespace ReportBrandingReplaceResponse {
|
|
73
|
+
/**
|
|
74
|
+
* Organization logo shown on Dashboards and Dashboard PDFs, or null when none is
|
|
75
|
+
* set.
|
|
76
|
+
*/
|
|
77
|
+
interface Logo {
|
|
78
|
+
/**
|
|
79
|
+
* Decoded image size in bytes.
|
|
80
|
+
*/
|
|
81
|
+
byteSize: number;
|
|
82
|
+
contentType: 'image/png' | 'image/jpeg' | 'image/webp';
|
|
83
|
+
/**
|
|
84
|
+
* Image height in pixels.
|
|
85
|
+
*/
|
|
86
|
+
height: number;
|
|
87
|
+
updatedAt: string;
|
|
88
|
+
updatedByUserId: string;
|
|
89
|
+
/**
|
|
90
|
+
* Image width in pixels.
|
|
91
|
+
*/
|
|
92
|
+
width: number;
|
|
93
|
+
/**
|
|
94
|
+
* data: URL containing the base64 image. Returned by GET unless includeDataUrl is
|
|
95
|
+
* false; omitted from write responses.
|
|
96
|
+
*/
|
|
97
|
+
dataUrl?: string;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
export interface ReportBrandingDeleteResponse {
|
|
101
|
+
/**
|
|
102
|
+
* Organization logo shown on Dashboards and Dashboard PDFs, or null when none is
|
|
103
|
+
* set.
|
|
104
|
+
*/
|
|
105
|
+
logo: ReportBrandingDeleteResponse.Logo | null;
|
|
106
|
+
}
|
|
107
|
+
export declare namespace ReportBrandingDeleteResponse {
|
|
108
|
+
/**
|
|
109
|
+
* Organization logo shown on Dashboards and Dashboard PDFs, or null when none is
|
|
110
|
+
* set.
|
|
111
|
+
*/
|
|
112
|
+
interface Logo {
|
|
113
|
+
/**
|
|
114
|
+
* Decoded image size in bytes.
|
|
115
|
+
*/
|
|
116
|
+
byteSize: number;
|
|
117
|
+
contentType: 'image/png' | 'image/jpeg' | 'image/webp';
|
|
118
|
+
/**
|
|
119
|
+
* Image height in pixels.
|
|
120
|
+
*/
|
|
121
|
+
height: number;
|
|
122
|
+
updatedAt: string;
|
|
123
|
+
updatedByUserId: string;
|
|
124
|
+
/**
|
|
125
|
+
* Image width in pixels.
|
|
126
|
+
*/
|
|
127
|
+
width: number;
|
|
128
|
+
/**
|
|
129
|
+
* data: URL containing the base64 image. Returned by GET unless includeDataUrl is
|
|
130
|
+
* false; omitted from write responses.
|
|
131
|
+
*/
|
|
132
|
+
dataUrl?: string;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
export interface ReportBrandingRetrieveParams {
|
|
136
|
+
/**
|
|
137
|
+
* Whether to return the image as logo.dataUrl. Defaults to true; pass false to
|
|
138
|
+
* read only the logo metadata.
|
|
139
|
+
*/
|
|
140
|
+
includeDataUrl?: boolean;
|
|
141
|
+
}
|
|
142
|
+
export interface ReportBrandingReplaceParams {
|
|
143
|
+
/**
|
|
144
|
+
* Image format: image/png, image/jpeg, or image/webp. SVG is not accepted;
|
|
145
|
+
* rasterize vector logos first. Must match the uploaded bytes.
|
|
146
|
+
*/
|
|
147
|
+
contentType: 'image/png' | 'image/jpeg' | 'image/webp';
|
|
148
|
+
/**
|
|
149
|
+
* Standard base64 image bytes without a data: prefix. At most 524288 decoded bytes
|
|
150
|
+
* and 4096 pixels in each dimension.
|
|
151
|
+
*/
|
|
152
|
+
data: string;
|
|
153
|
+
}
|
|
154
|
+
export declare namespace ReportBranding {
|
|
155
|
+
export { type ReportBrandingRetrieveResponse as ReportBrandingRetrieveResponse, type ReportBrandingReplaceResponse as ReportBrandingReplaceResponse, type ReportBrandingDeleteResponse as ReportBrandingDeleteResponse, type ReportBrandingRetrieveParams as ReportBrandingRetrieveParams, type ReportBrandingReplaceParams as ReportBrandingReplaceParams, };
|
|
156
|
+
}
|
|
157
|
+
//# sourceMappingURL=report-branding.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"report-branding.d.mts","sourceRoot":"","sources":["../src/resources/report-branding.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;;;;OAMG;IACH,QAAQ,CACN,KAAK,GAAE,4BAA4B,GAAG,IAAI,GAAG,SAAc,EAC3D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,8BAA8B,CAAC;IAI7C;;;;;;;OAOG;IACH,OAAO,CACL,IAAI,EAAE,2BAA2B,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,6BAA6B,CAAC;IAI5C;;;;;OAKG;IACH,MAAM,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,4BAA4B,CAAC;CAG3E;AAED,MAAM,WAAW,8BAA8B;IAC7C;;;OAGG;IACH,IAAI,EAAE,8BAA8B,CAAC,IAAI,GAAG,IAAI,CAAC;CAClD;AAED,yBAAiB,8BAA8B,CAAC;IAC9C;;;OAGG;IACH,UAAiB,IAAI;QACnB;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QAEjB,WAAW,EAAE,WAAW,GAAG,YAAY,GA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