@oursprivacy/platform-sdk 1.53.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 +7 -0
- package/client.d.mts +10 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +10 -4
- 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/consent-settings.d.mts +5930 -442
- package/resources/consent-settings.d.mts.map +1 -1
- package/resources/consent-settings.d.ts +5930 -442
- package/resources/consent-settings.d.ts.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 +75 -15
- package/resources/data-governance.d.mts.map +1 -1
- package/resources/data-governance.d.ts +75 -15
- package/resources/data-governance.d.ts.map +1 -1
- package/resources/default-mappings.d.mts +207 -3
- package/resources/default-mappings.d.mts.map +1 -1
- package/resources/default-mappings.d.ts +207 -3
- package/resources/default-mappings.d.ts.map +1 -1
- package/resources/destinations.d.mts +33 -13
- package/resources/destinations.d.mts.map +1 -1
- package/resources/destinations.d.ts +33 -13
- package/resources/destinations.d.ts.map +1 -1
- package/resources/experiment-variants.d.mts +117 -14
- package/resources/experiment-variants.d.mts.map +1 -1
- package/resources/experiment-variants.d.ts +117 -14
- package/resources/experiment-variants.d.ts.map +1 -1
- package/resources/experiments.d.mts +3979 -253
- package/resources/experiments.d.mts.map +1 -1
- package/resources/experiments.d.ts +3979 -253
- package/resources/experiments.d.ts.map +1 -1
- package/resources/funnels.d.mts +648 -7
- package/resources/funnels.d.mts.map +1 -1
- package/resources/funnels.d.ts +648 -7
- package/resources/funnels.d.ts.map +1 -1
- package/resources/index.d.mts +4 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +4 -2
- 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 +580 -16
- package/resources/journey-flows.d.mts.map +1 -1
- package/resources/journey-flows.d.ts +580 -16
- package/resources/journey-flows.d.ts.map +1 -1
- package/resources/locations.d.mts +25 -5
- package/resources/locations.d.mts.map +1 -1
- package/resources/locations.d.ts +25 -5
- package/resources/locations.d.ts.map +1 -1
- package/resources/mappings.d.mts +540 -12
- package/resources/mappings.d.mts.map +1 -1
- package/resources/mappings.d.ts +540 -12
- package/resources/mappings.d.ts.map +1 -1
- package/resources/mappings.js +22 -0
- package/resources/mappings.js.map +1 -1
- package/resources/mappings.mjs +22 -0
- 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/replay-settings.d.mts +117 -3
- package/resources/replay-settings.d.mts.map +1 -1
- package/resources/replay-settings.d.ts +117 -3
- package/resources/replay-settings.d.ts.map +1 -1
- package/resources/session-replays.d.mts +5 -0
- package/resources/session-replays.d.mts.map +1 -1
- package/resources/session-replays.d.ts +5 -0
- package/resources/session-replays.d.ts.map +1 -1
- package/resources/short-links.d.mts +722 -10
- package/resources/short-links.d.mts.map +1 -1
- package/resources/short-links.d.ts +722 -10
- package/resources/short-links.d.ts.map +1 -1
- package/resources/sources.d.mts +86 -11
- package/resources/sources.d.mts.map +1 -1
- package/resources/sources.d.ts +86 -11
- package/resources/sources.d.ts.map +1 -1
- package/resources/tag-manager-tags.d.mts +3 -1
- package/resources/tag-manager-tags.d.mts.map +1 -1
- package/resources/tag-manager-tags.d.ts +3 -1
- package/resources/tag-manager-tags.d.ts.map +1 -1
- package/resources/tag-manager-triggers.d.mts +3 -1
- package/resources/tag-manager-triggers.d.mts.map +1 -1
- package/resources/tag-manager-triggers.d.ts +3 -1
- package/resources/tag-manager-triggers.d.ts.map +1 -1
- package/resources/tag-manager-variables.d.mts +39 -13
- package/resources/tag-manager-variables.d.mts.map +1 -1
- package/resources/tag-manager-variables.d.ts +39 -13
- package/resources/tag-manager-variables.d.ts.map +1 -1
- package/resources/tag-managers.d.mts +14 -1
- package/resources/tag-managers.d.mts.map +1 -1
- package/resources/tag-managers.d.ts +14 -1
- package/resources/tag-managers.d.ts.map +1 -1
- package/resources/tag-managers.js +8 -0
- package/resources/tag-managers.js.map +1 -1
- package/resources/tag-managers.mjs +8 -0
- package/resources/tag-managers.mjs.map +1 -1
- package/resources/test-events.d.mts +67 -11
- package/resources/test-events.d.mts.map +1 -1
- package/resources/test-events.d.ts +67 -11
- package/resources/test-events.d.ts.map +1 -1
- package/resources/versions.d.mts +82 -37
- package/resources/versions.d.mts.map +1 -1
- package/resources/versions.d.ts +82 -37
- package/resources/versions.d.ts.map +1 -1
- package/resources/versions.js +5 -5
- package/resources/versions.mjs +5 -5
- package/resources/video-channels.d.mts +32 -4
- package/resources/video-channels.d.mts.map +1 -1
- package/resources/video-channels.d.ts +32 -4
- package/resources/video-channels.d.ts.map +1 -1
- package/src/client.ts +36 -0
- package/src/resources/consent-settings.ts +7287 -374
- package/src/resources/custom-domains.ts +450 -0
- package/src/resources/data-governance.ts +45 -15
- package/src/resources/default-mappings.ts +303 -3
- package/src/resources/destinations.ts +23 -8
- package/src/resources/experiment-variants.ts +131 -14
- package/src/resources/experiments.ts +8021 -443
- package/src/resources/funnels.ts +1355 -7
- package/src/resources/index.ts +15 -0
- package/src/resources/journey-flows.ts +1224 -16
- package/src/resources/locations.ts +35 -5
- package/src/resources/mappings.ts +794 -19
- package/src/resources/me.ts +37 -0
- package/src/resources/replay-settings.ts +138 -3
- package/src/resources/session-replays.ts +6 -0
- package/src/resources/short-links.ts +872 -10
- package/src/resources/sources.ts +96 -11
- package/src/resources/tag-manager-tags.ts +7 -1
- package/src/resources/tag-manager-triggers.ts +7 -1
- package/src/resources/tag-manager-variables.ts +91 -13
- package/src/resources/tag-managers.ts +25 -0
- package/src/resources/test-events.ts +47 -11
- package/src/resources/versions.ts +83 -37
- package/src/resources/video-channels.ts +44 -4
- 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,37 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import { APIPromise } from '../core/api-promise';
|
|
5
|
+
import { RequestOptions } from '../internal/request-options';
|
|
6
|
+
|
|
7
|
+
export class Me extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Identify the authenticated credential. Requires no API-key scope or OAuth user
|
|
10
|
+
* permission, so a narrow API key or a new OAuth connection can confirm it is
|
|
11
|
+
* valid before calling other operations.
|
|
12
|
+
*/
|
|
13
|
+
retrieve(options?: RequestOptions): APIPromise<MeRetrieveResponse> {
|
|
14
|
+
return this._client.get('/rest/v1/me', options);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface MeRetrieveResponse {
|
|
19
|
+
/**
|
|
20
|
+
* ISO-8601 expiration of the API key or OAuth access token, or null.
|
|
21
|
+
*/
|
|
22
|
+
expiresAt: string | null;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Organization the credential acts for.
|
|
26
|
+
*/
|
|
27
|
+
organizationId: string;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Display name of the organization, or null when unavailable.
|
|
31
|
+
*/
|
|
32
|
+
organizationName: string | null;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export declare namespace Me {
|
|
36
|
+
export { type MeRetrieveResponse as MeRetrieveResponse };
|
|
37
|
+
}
|
|
@@ -116,7 +116,52 @@ export interface ReplaySettingCreateResponse {
|
|
|
116
116
|
|
|
117
117
|
cause?: string | null;
|
|
118
118
|
|
|
119
|
-
replaySettings?:
|
|
119
|
+
replaySettings?: ReplaySettingCreateResponse.ReplaySettings | null;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export namespace ReplaySettingCreateResponse {
|
|
123
|
+
export interface ReplaySettings {
|
|
124
|
+
/**
|
|
125
|
+
* Stable identifier (UUID) for this replay configuration.
|
|
126
|
+
*/
|
|
127
|
+
id: string;
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* ISO-8601 timestamp when this configuration was created.
|
|
131
|
+
*/
|
|
132
|
+
createdAt: string;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Human-readable label for this replay configuration. Shown in the dashboard. May
|
|
136
|
+
* be empty.
|
|
137
|
+
*/
|
|
138
|
+
name: string;
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Whether session replay capture is currently active. Set to "Enabled" to start
|
|
142
|
+
* capturing replays from whitelisted domains, or "Disabled" to pause capture
|
|
143
|
+
* without losing the configuration.
|
|
144
|
+
*/
|
|
145
|
+
status: 'Disabled' | 'Enabled';
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Optional custom domain (CNAME) for hosting the replay capture script. Leave null
|
|
149
|
+
* to use the default Ours Privacy domain.
|
|
150
|
+
*/
|
|
151
|
+
customDomain?: string | null;
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* ISO-8601 timestamp of the most recent update, or null if never updated.
|
|
155
|
+
*/
|
|
156
|
+
updatedAt?: string | null;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Hostnames where session replay capture is permitted. Replays initiated from any
|
|
160
|
+
* host not in this list are dropped. PATCH replaces the list — partial updates are
|
|
161
|
+
* not merged.
|
|
162
|
+
*/
|
|
163
|
+
whitelistDomains?: Array<string> | null;
|
|
164
|
+
}
|
|
120
165
|
}
|
|
121
166
|
|
|
122
167
|
export interface ReplaySettingRetrieveResponse {
|
|
@@ -167,7 +212,52 @@ export interface ReplaySettingUpdateResponse {
|
|
|
167
212
|
|
|
168
213
|
cause?: string | null;
|
|
169
214
|
|
|
170
|
-
replaySettings?:
|
|
215
|
+
replaySettings?: ReplaySettingUpdateResponse.ReplaySettings | null;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
export namespace ReplaySettingUpdateResponse {
|
|
219
|
+
export interface ReplaySettings {
|
|
220
|
+
/**
|
|
221
|
+
* Stable identifier (UUID) for this replay configuration.
|
|
222
|
+
*/
|
|
223
|
+
id: string;
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* ISO-8601 timestamp when this configuration was created.
|
|
227
|
+
*/
|
|
228
|
+
createdAt: string;
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Human-readable label for this replay configuration. Shown in the dashboard. May
|
|
232
|
+
* be empty.
|
|
233
|
+
*/
|
|
234
|
+
name: string;
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* Whether session replay capture is currently active. Set to "Enabled" to start
|
|
238
|
+
* capturing replays from whitelisted domains, or "Disabled" to pause capture
|
|
239
|
+
* without losing the configuration.
|
|
240
|
+
*/
|
|
241
|
+
status: 'Disabled' | 'Enabled';
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* Optional custom domain (CNAME) for hosting the replay capture script. Leave null
|
|
245
|
+
* to use the default Ours Privacy domain.
|
|
246
|
+
*/
|
|
247
|
+
customDomain?: string | null;
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* ISO-8601 timestamp of the most recent update, or null if never updated.
|
|
251
|
+
*/
|
|
252
|
+
updatedAt?: string | null;
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* Hostnames where session replay capture is permitted. Replays initiated from any
|
|
256
|
+
* host not in this list are dropped. PATCH replaces the list — partial updates are
|
|
257
|
+
* not merged.
|
|
258
|
+
*/
|
|
259
|
+
whitelistDomains?: Array<string> | null;
|
|
260
|
+
}
|
|
171
261
|
}
|
|
172
262
|
|
|
173
263
|
export interface ReplaySettingDeleteResponse {
|
|
@@ -175,7 +265,52 @@ export interface ReplaySettingDeleteResponse {
|
|
|
175
265
|
|
|
176
266
|
cause?: string | null;
|
|
177
267
|
|
|
178
|
-
replaySettings?:
|
|
268
|
+
replaySettings?: ReplaySettingDeleteResponse.ReplaySettings | null;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
export namespace ReplaySettingDeleteResponse {
|
|
272
|
+
export interface ReplaySettings {
|
|
273
|
+
/**
|
|
274
|
+
* Stable identifier (UUID) for this replay configuration.
|
|
275
|
+
*/
|
|
276
|
+
id: string;
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* ISO-8601 timestamp when this configuration was created.
|
|
280
|
+
*/
|
|
281
|
+
createdAt: string;
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* Human-readable label for this replay configuration. Shown in the dashboard. May
|
|
285
|
+
* be empty.
|
|
286
|
+
*/
|
|
287
|
+
name: string;
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* Whether session replay capture is currently active. Set to "Enabled" to start
|
|
291
|
+
* capturing replays from whitelisted domains, or "Disabled" to pause capture
|
|
292
|
+
* without losing the configuration.
|
|
293
|
+
*/
|
|
294
|
+
status: 'Disabled' | 'Enabled';
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Optional custom domain (CNAME) for hosting the replay capture script. Leave null
|
|
298
|
+
* to use the default Ours Privacy domain.
|
|
299
|
+
*/
|
|
300
|
+
customDomain?: string | null;
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* ISO-8601 timestamp of the most recent update, or null if never updated.
|
|
304
|
+
*/
|
|
305
|
+
updatedAt?: string | null;
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* Hostnames where session replay capture is permitted. Replays initiated from any
|
|
309
|
+
* host not in this list are dropped. PATCH replaces the list — partial updates are
|
|
310
|
+
* not merged.
|
|
311
|
+
*/
|
|
312
|
+
whitelistDomains?: Array<string> | null;
|
|
313
|
+
}
|
|
179
314
|
}
|
|
180
315
|
|
|
181
316
|
export interface ReplaySettingListParams extends CursorParams {}
|
|
@@ -91,6 +91,12 @@ export interface SessionReplayListParams {
|
|
|
91
91
|
|
|
92
92
|
eventName?: string;
|
|
93
93
|
|
|
94
|
+
/**
|
|
95
|
+
* JSON-encoded versioned analytics filter. Uses the shared analytics catalog
|
|
96
|
+
* property IDs and operators, including event, session, and custom properties.
|
|
97
|
+
*/
|
|
98
|
+
filter?: string;
|
|
99
|
+
|
|
94
100
|
/**
|
|
95
101
|
* Maximum replay sessions to return. Defaults to the report default.
|
|
96
102
|
*/
|