@oursprivacy/platform-sdk 1.50.0 → 1.52.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 +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 +1 -1
- package/resources/analytics.d.mts +2 -2
- package/resources/analytics.d.ts +2 -2
- package/resources/analytics.js +2 -2
- package/resources/analytics.mjs +2 -2
- package/resources/destinations.d.mts +7 -7
- package/resources/destinations.d.mts.map +1 -1
- package/resources/destinations.d.ts +7 -7
- package/resources/destinations.d.ts.map +1 -1
- package/resources/experiments.d.mts +661 -35
- package/resources/experiments.d.mts.map +1 -1
- package/resources/experiments.d.ts +661 -35
- package/resources/experiments.d.ts.map +1 -1
- package/resources/experiments.js +27 -19
- package/resources/experiments.js.map +1 -1
- package/resources/experiments.mjs +27 -19
- package/resources/experiments.mjs.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 +4155 -0
- package/resources/journey-flows.d.mts.map +1 -0
- package/resources/journey-flows.d.ts +4155 -0
- package/resources/journey-flows.d.ts.map +1 -0
- package/resources/journey-flows.js +90 -0
- package/resources/journey-flows.js.map +1 -0
- package/resources/journey-flows.mjs +86 -0
- package/resources/journey-flows.mjs.map +1 -0
- package/resources/short-links.d.mts +40 -0
- package/resources/short-links.d.mts.map +1 -1
- package/resources/short-links.d.ts +40 -0
- package/resources/short-links.d.ts.map +1 -1
- package/resources/sources.d.mts +20 -0
- package/resources/sources.d.mts.map +1 -1
- package/resources/sources.d.ts +20 -0
- package/resources/sources.d.ts.map +1 -1
- package/resources/test-events.d.mts +540 -0
- package/resources/test-events.d.mts.map +1 -0
- package/resources/test-events.d.ts +540 -0
- package/resources/test-events.d.ts.map +1 -0
- package/resources/test-events.js +88 -0
- package/resources/test-events.js.map +1 -0
- package/resources/test-events.mjs +84 -0
- package/resources/test-events.mjs.map +1 -0
- package/resources/video-channels.d.mts +13 -0
- package/resources/video-channels.d.mts.map +1 -1
- package/resources/video-channels.d.ts +13 -0
- package/resources/video-channels.d.ts.map +1 -1
- package/resources/videos.d.mts +160 -2
- package/resources/videos.d.mts.map +1 -1
- package/resources/videos.d.ts +160 -2
- package/resources/videos.d.ts.map +1 -1
- package/resources/videos.js +32 -2
- package/resources/videos.js.map +1 -1
- package/resources/videos.mjs +32 -2
- package/resources/videos.mjs.map +1 -1
- package/resources/web-analytics.d.mts +9 -9
- package/resources/web-analytics.d.mts.map +1 -1
- package/resources/web-analytics.d.ts +9 -9
- package/resources/web-analytics.d.ts.map +1 -1
- package/resources/web-analytics.js +2 -2
- package/resources/web-analytics.js.map +1 -1
- package/resources/web-analytics.mjs +2 -2
- package/resources/web-analytics.mjs.map +1 -1
- package/resources/web-scanners.d.mts +28 -17
- package/resources/web-scanners.d.mts.map +1 -1
- package/resources/web-scanners.d.ts +28 -17
- package/resources/web-scanners.d.ts.map +1 -1
- package/resources/web-scanners.js +19 -14
- package/resources/web-scanners.js.map +1 -1
- package/resources/web-scanners.mjs +19 -14
- package/resources/web-scanners.mjs.map +1 -1
- package/src/client.ts +80 -4
- package/src/resources/analytics.ts +2 -2
- package/src/resources/destinations.ts +7 -0
- package/src/resources/experiments.ts +808 -35
- package/src/resources/index.ts +37 -2
- package/src/resources/journey-flows.ts +8244 -0
- package/src/resources/short-links.ts +47 -0
- package/src/resources/sources.ts +24 -0
- package/src/resources/test-events.ts +701 -0
- package/src/resources/video-channels.ts +22 -0
- package/src/resources/videos.ts +279 -2
- package/src/resources/web-analytics.ts +13 -13
- package/src/resources/web-scanners.ts +28 -17
- 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
|
@@ -151,6 +151,13 @@ export interface ShortLinkListResponse {
|
|
|
151
151
|
|
|
152
152
|
createdAt: string;
|
|
153
153
|
|
|
154
|
+
/**
|
|
155
|
+
* Whether saved published design campaign tags are added to the destination when
|
|
156
|
+
* enabled. Existing destination UTMs stay unchanged. Defaults to true for new
|
|
157
|
+
* short links and false for existing links without a stored setting.
|
|
158
|
+
*/
|
|
159
|
+
forwardUtmToDestination: boolean;
|
|
160
|
+
|
|
154
161
|
status: 'Disabled' | 'Enabled';
|
|
155
162
|
|
|
156
163
|
/**
|
|
@@ -206,6 +213,13 @@ export interface ShortLinkCreateResponse {
|
|
|
206
213
|
|
|
207
214
|
createdAt: string;
|
|
208
215
|
|
|
216
|
+
/**
|
|
217
|
+
* Whether saved published design campaign tags are added to the destination when
|
|
218
|
+
* enabled. Existing destination UTMs stay unchanged. Defaults to true for new
|
|
219
|
+
* short links and false for existing links without a stored setting.
|
|
220
|
+
*/
|
|
221
|
+
forwardUtmToDestination: boolean;
|
|
222
|
+
|
|
209
223
|
status: 'Disabled' | 'Enabled';
|
|
210
224
|
|
|
211
225
|
/**
|
|
@@ -261,6 +275,13 @@ export interface ShortLinkRetrieveResponse {
|
|
|
261
275
|
|
|
262
276
|
createdAt: string;
|
|
263
277
|
|
|
278
|
+
/**
|
|
279
|
+
* Whether saved published design campaign tags are added to the destination when
|
|
280
|
+
* enabled. Existing destination UTMs stay unchanged. Defaults to true for new
|
|
281
|
+
* short links and false for existing links without a stored setting.
|
|
282
|
+
*/
|
|
283
|
+
forwardUtmToDestination: boolean;
|
|
284
|
+
|
|
264
285
|
status: 'Disabled' | 'Enabled';
|
|
265
286
|
|
|
266
287
|
/**
|
|
@@ -316,6 +337,13 @@ export interface ShortLinkUpdateResponse {
|
|
|
316
337
|
|
|
317
338
|
createdAt: string;
|
|
318
339
|
|
|
340
|
+
/**
|
|
341
|
+
* Whether saved published design campaign tags are added to the destination when
|
|
342
|
+
* enabled. Existing destination UTMs stay unchanged. Defaults to true for new
|
|
343
|
+
* short links and false for existing links without a stored setting.
|
|
344
|
+
*/
|
|
345
|
+
forwardUtmToDestination: boolean;
|
|
346
|
+
|
|
319
347
|
status: 'Disabled' | 'Enabled';
|
|
320
348
|
|
|
321
349
|
/**
|
|
@@ -375,6 +403,13 @@ export interface ShortLinkCloneResponse {
|
|
|
375
403
|
|
|
376
404
|
createdAt: string;
|
|
377
405
|
|
|
406
|
+
/**
|
|
407
|
+
* Whether saved published design campaign tags are added to the destination when
|
|
408
|
+
* enabled. Existing destination UTMs stay unchanged. Defaults to true for new
|
|
409
|
+
* short links and false for existing links without a stored setting.
|
|
410
|
+
*/
|
|
411
|
+
forwardUtmToDestination: boolean;
|
|
412
|
+
|
|
378
413
|
status: 'Disabled' | 'Enabled';
|
|
379
414
|
|
|
380
415
|
/**
|
|
@@ -491,6 +526,12 @@ export interface ShortLinkCreateParams {
|
|
|
491
526
|
*/
|
|
492
527
|
code?: string | null;
|
|
493
528
|
|
|
529
|
+
/**
|
|
530
|
+
* When enabled, add saved published design campaign tags to the destination after
|
|
531
|
+
* publishing. Defaults to true when omitted; null is rejected.
|
|
532
|
+
*/
|
|
533
|
+
forwardUtmToDestination?: boolean;
|
|
534
|
+
|
|
494
535
|
/**
|
|
495
536
|
* Human-readable name. Also sent as the tracked event name on every click/scan.
|
|
496
537
|
*/
|
|
@@ -515,6 +556,12 @@ export interface ShortLinkCreateParams {
|
|
|
515
556
|
export interface ShortLinkUpdateParams {
|
|
516
557
|
code?: string | null;
|
|
517
558
|
|
|
559
|
+
/**
|
|
560
|
+
* When enabled, add saved published design campaign tags to the destination after
|
|
561
|
+
* publishing. Omit to leave unchanged; null is rejected.
|
|
562
|
+
*/
|
|
563
|
+
forwardUtmToDestination?: boolean;
|
|
564
|
+
|
|
518
565
|
name?: string | null;
|
|
519
566
|
|
|
520
567
|
qr?: unknown | null;
|
package/src/resources/sources.ts
CHANGED
|
@@ -77,6 +77,12 @@ export interface SourceListResponse {
|
|
|
77
77
|
|
|
78
78
|
createdAt: string;
|
|
79
79
|
|
|
80
|
+
/**
|
|
81
|
+
* Whether published short-link campaign tags are forwarded to missing destination
|
|
82
|
+
* UTM keys. Existing sources default to false.
|
|
83
|
+
*/
|
|
84
|
+
forwardUtmToDestination: boolean;
|
|
85
|
+
|
|
80
86
|
status: 'Disabled' | 'Enabled';
|
|
81
87
|
|
|
82
88
|
type:
|
|
@@ -168,6 +174,12 @@ export interface SourceCreateResponse {
|
|
|
168
174
|
|
|
169
175
|
createdAt: string;
|
|
170
176
|
|
|
177
|
+
/**
|
|
178
|
+
* Whether published short-link campaign tags are forwarded to missing destination
|
|
179
|
+
* UTM keys. Existing sources default to false.
|
|
180
|
+
*/
|
|
181
|
+
forwardUtmToDestination: boolean;
|
|
182
|
+
|
|
171
183
|
status: 'Disabled' | 'Enabled';
|
|
172
184
|
|
|
173
185
|
type:
|
|
@@ -259,6 +271,12 @@ export interface SourceRetrieveResponse {
|
|
|
259
271
|
|
|
260
272
|
createdAt: string;
|
|
261
273
|
|
|
274
|
+
/**
|
|
275
|
+
* Whether published short-link campaign tags are forwarded to missing destination
|
|
276
|
+
* UTM keys. Existing sources default to false.
|
|
277
|
+
*/
|
|
278
|
+
forwardUtmToDestination: boolean;
|
|
279
|
+
|
|
262
280
|
status: 'Disabled' | 'Enabled';
|
|
263
281
|
|
|
264
282
|
type:
|
|
@@ -350,6 +368,12 @@ export interface SourceUpdateResponse {
|
|
|
350
368
|
|
|
351
369
|
createdAt: string;
|
|
352
370
|
|
|
371
|
+
/**
|
|
372
|
+
* Whether published short-link campaign tags are forwarded to missing destination
|
|
373
|
+
* UTM keys. Existing sources default to false.
|
|
374
|
+
*/
|
|
375
|
+
forwardUtmToDestination: boolean;
|
|
376
|
+
|
|
353
377
|
status: 'Disabled' | 'Enabled';
|
|
354
378
|
|
|
355
379
|
type:
|