@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
|
@@ -147,7 +147,7 @@ export interface ExperimentVariantListResponse {
|
|
|
147
147
|
* How this variant changes the user experience. `dom_modifications` for on-page
|
|
148
148
|
* changes or `redirect` for redirect tests.
|
|
149
149
|
*/
|
|
150
|
-
variantType?:
|
|
150
|
+
variantType?: 'dom_modifications' | 'redirect' | null;
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
export namespace ExperimentVariantListResponse {
|
|
@@ -187,7 +187,7 @@ export namespace ExperimentVariantListResponse {
|
|
|
187
187
|
* Customers may also send this field instead of a JSON-stringified `value` on
|
|
188
188
|
* write — see `domModificationInputSchema`.
|
|
189
189
|
*/
|
|
190
|
-
attribute?:
|
|
190
|
+
attribute?: DomModification.Attribute | null;
|
|
191
191
|
|
|
192
192
|
/**
|
|
193
193
|
* Populated on read for `setStyle` modifications, parsed from `value`. Customers
|
|
@@ -198,6 +198,23 @@ export namespace ExperimentVariantListResponse {
|
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
export namespace DomModification {
|
|
201
|
+
/**
|
|
202
|
+
* Populated on read for `setAttribute` modifications, parsed from `value`.
|
|
203
|
+
* Customers may also send this field instead of a JSON-stringified `value` on
|
|
204
|
+
* write — see `domModificationInputSchema`.
|
|
205
|
+
*/
|
|
206
|
+
export interface Attribute {
|
|
207
|
+
/**
|
|
208
|
+
* HTML attribute name.
|
|
209
|
+
*/
|
|
210
|
+
name: string;
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* Attribute value to assign.
|
|
214
|
+
*/
|
|
215
|
+
value: string;
|
|
216
|
+
}
|
|
217
|
+
|
|
201
218
|
export interface Style {
|
|
202
219
|
/**
|
|
203
220
|
* CSS property name in camelCase or kebab-case.
|
|
@@ -255,7 +272,7 @@ export interface ExperimentVariantCreateResponse {
|
|
|
255
272
|
* How this variant changes the user experience. `dom_modifications` for on-page
|
|
256
273
|
* changes or `redirect` for redirect tests.
|
|
257
274
|
*/
|
|
258
|
-
variantType?:
|
|
275
|
+
variantType?: 'dom_modifications' | 'redirect' | null;
|
|
259
276
|
}
|
|
260
277
|
|
|
261
278
|
export namespace ExperimentVariantCreateResponse {
|
|
@@ -295,7 +312,7 @@ export namespace ExperimentVariantCreateResponse {
|
|
|
295
312
|
* Customers may also send this field instead of a JSON-stringified `value` on
|
|
296
313
|
* write — see `domModificationInputSchema`.
|
|
297
314
|
*/
|
|
298
|
-
attribute?:
|
|
315
|
+
attribute?: DomModification.Attribute | null;
|
|
299
316
|
|
|
300
317
|
/**
|
|
301
318
|
* Populated on read for `setStyle` modifications, parsed from `value`. Customers
|
|
@@ -306,6 +323,23 @@ export namespace ExperimentVariantCreateResponse {
|
|
|
306
323
|
}
|
|
307
324
|
|
|
308
325
|
export namespace DomModification {
|
|
326
|
+
/**
|
|
327
|
+
* Populated on read for `setAttribute` modifications, parsed from `value`.
|
|
328
|
+
* Customers may also send this field instead of a JSON-stringified `value` on
|
|
329
|
+
* write — see `domModificationInputSchema`.
|
|
330
|
+
*/
|
|
331
|
+
export interface Attribute {
|
|
332
|
+
/**
|
|
333
|
+
* HTML attribute name.
|
|
334
|
+
*/
|
|
335
|
+
name: string;
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* Attribute value to assign.
|
|
339
|
+
*/
|
|
340
|
+
value: string;
|
|
341
|
+
}
|
|
342
|
+
|
|
309
343
|
export interface Style {
|
|
310
344
|
/**
|
|
311
345
|
* CSS property name in camelCase or kebab-case.
|
|
@@ -363,7 +397,7 @@ export interface ExperimentVariantRetrieveResponse {
|
|
|
363
397
|
* How this variant changes the user experience. `dom_modifications` for on-page
|
|
364
398
|
* changes or `redirect` for redirect tests.
|
|
365
399
|
*/
|
|
366
|
-
variantType?:
|
|
400
|
+
variantType?: 'dom_modifications' | 'redirect' | null;
|
|
367
401
|
}
|
|
368
402
|
|
|
369
403
|
export namespace ExperimentVariantRetrieveResponse {
|
|
@@ -403,7 +437,7 @@ export namespace ExperimentVariantRetrieveResponse {
|
|
|
403
437
|
* Customers may also send this field instead of a JSON-stringified `value` on
|
|
404
438
|
* write — see `domModificationInputSchema`.
|
|
405
439
|
*/
|
|
406
|
-
attribute?:
|
|
440
|
+
attribute?: DomModification.Attribute | null;
|
|
407
441
|
|
|
408
442
|
/**
|
|
409
443
|
* Populated on read for `setStyle` modifications, parsed from `value`. Customers
|
|
@@ -414,6 +448,23 @@ export namespace ExperimentVariantRetrieveResponse {
|
|
|
414
448
|
}
|
|
415
449
|
|
|
416
450
|
export namespace DomModification {
|
|
451
|
+
/**
|
|
452
|
+
* Populated on read for `setAttribute` modifications, parsed from `value`.
|
|
453
|
+
* Customers may also send this field instead of a JSON-stringified `value` on
|
|
454
|
+
* write — see `domModificationInputSchema`.
|
|
455
|
+
*/
|
|
456
|
+
export interface Attribute {
|
|
457
|
+
/**
|
|
458
|
+
* HTML attribute name.
|
|
459
|
+
*/
|
|
460
|
+
name: string;
|
|
461
|
+
|
|
462
|
+
/**
|
|
463
|
+
* Attribute value to assign.
|
|
464
|
+
*/
|
|
465
|
+
value: string;
|
|
466
|
+
}
|
|
467
|
+
|
|
417
468
|
export interface Style {
|
|
418
469
|
/**
|
|
419
470
|
* CSS property name in camelCase or kebab-case.
|
|
@@ -471,7 +522,7 @@ export interface ExperimentVariantUpdateResponse {
|
|
|
471
522
|
* How this variant changes the user experience. `dom_modifications` for on-page
|
|
472
523
|
* changes or `redirect` for redirect tests.
|
|
473
524
|
*/
|
|
474
|
-
variantType?:
|
|
525
|
+
variantType?: 'dom_modifications' | 'redirect' | null;
|
|
475
526
|
}
|
|
476
527
|
|
|
477
528
|
export namespace ExperimentVariantUpdateResponse {
|
|
@@ -511,7 +562,7 @@ export namespace ExperimentVariantUpdateResponse {
|
|
|
511
562
|
* Customers may also send this field instead of a JSON-stringified `value` on
|
|
512
563
|
* write — see `domModificationInputSchema`.
|
|
513
564
|
*/
|
|
514
|
-
attribute?:
|
|
565
|
+
attribute?: DomModification.Attribute | null;
|
|
515
566
|
|
|
516
567
|
/**
|
|
517
568
|
* Populated on read for `setStyle` modifications, parsed from `value`. Customers
|
|
@@ -522,6 +573,23 @@ export namespace ExperimentVariantUpdateResponse {
|
|
|
522
573
|
}
|
|
523
574
|
|
|
524
575
|
export namespace DomModification {
|
|
576
|
+
/**
|
|
577
|
+
* Populated on read for `setAttribute` modifications, parsed from `value`.
|
|
578
|
+
* Customers may also send this field instead of a JSON-stringified `value` on
|
|
579
|
+
* write — see `domModificationInputSchema`.
|
|
580
|
+
*/
|
|
581
|
+
export interface Attribute {
|
|
582
|
+
/**
|
|
583
|
+
* HTML attribute name.
|
|
584
|
+
*/
|
|
585
|
+
name: string;
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* Attribute value to assign.
|
|
589
|
+
*/
|
|
590
|
+
value: string;
|
|
591
|
+
}
|
|
592
|
+
|
|
525
593
|
export interface Style {
|
|
526
594
|
/**
|
|
527
595
|
* CSS property name in camelCase or kebab-case.
|
|
@@ -579,7 +647,7 @@ export interface ExperimentVariantDeleteResponse {
|
|
|
579
647
|
* How this variant changes the user experience. `dom_modifications` for on-page
|
|
580
648
|
* changes or `redirect` for redirect tests.
|
|
581
649
|
*/
|
|
582
|
-
variantType?:
|
|
650
|
+
variantType?: 'dom_modifications' | 'redirect' | null;
|
|
583
651
|
}
|
|
584
652
|
|
|
585
653
|
export namespace ExperimentVariantDeleteResponse {
|
|
@@ -619,7 +687,7 @@ export namespace ExperimentVariantDeleteResponse {
|
|
|
619
687
|
* Customers may also send this field instead of a JSON-stringified `value` on
|
|
620
688
|
* write — see `domModificationInputSchema`.
|
|
621
689
|
*/
|
|
622
|
-
attribute?:
|
|
690
|
+
attribute?: DomModification.Attribute | null;
|
|
623
691
|
|
|
624
692
|
/**
|
|
625
693
|
* Populated on read for `setStyle` modifications, parsed from `value`. Customers
|
|
@@ -630,6 +698,23 @@ export namespace ExperimentVariantDeleteResponse {
|
|
|
630
698
|
}
|
|
631
699
|
|
|
632
700
|
export namespace DomModification {
|
|
701
|
+
/**
|
|
702
|
+
* Populated on read for `setAttribute` modifications, parsed from `value`.
|
|
703
|
+
* Customers may also send this field instead of a JSON-stringified `value` on
|
|
704
|
+
* write — see `domModificationInputSchema`.
|
|
705
|
+
*/
|
|
706
|
+
export interface Attribute {
|
|
707
|
+
/**
|
|
708
|
+
* HTML attribute name.
|
|
709
|
+
*/
|
|
710
|
+
name: string;
|
|
711
|
+
|
|
712
|
+
/**
|
|
713
|
+
* Attribute value to assign.
|
|
714
|
+
*/
|
|
715
|
+
value: string;
|
|
716
|
+
}
|
|
717
|
+
|
|
633
718
|
export interface Style {
|
|
634
719
|
/**
|
|
635
720
|
* CSS property name in camelCase or kebab-case.
|
|
@@ -741,7 +826,7 @@ export namespace ExperimentVariantCreateParams {
|
|
|
741
826
|
* Use this for `setAttribute` to avoid JSON-stringifying `{name: value}` yourself.
|
|
742
827
|
* Ignored for other actions.
|
|
743
828
|
*/
|
|
744
|
-
attribute?:
|
|
829
|
+
attribute?: DomModification.Attribute | null;
|
|
745
830
|
|
|
746
831
|
/**
|
|
747
832
|
* Use this for `setStyle` to avoid JSON-stringifying `{property: value}` yourself.
|
|
@@ -760,6 +845,22 @@ export namespace ExperimentVariantCreateParams {
|
|
|
760
845
|
}
|
|
761
846
|
|
|
762
847
|
export namespace DomModification {
|
|
848
|
+
/**
|
|
849
|
+
* Use this for `setAttribute` to avoid JSON-stringifying `{name: value}` yourself.
|
|
850
|
+
* Ignored for other actions.
|
|
851
|
+
*/
|
|
852
|
+
export interface Attribute {
|
|
853
|
+
/**
|
|
854
|
+
* HTML attribute name.
|
|
855
|
+
*/
|
|
856
|
+
name: string;
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* Attribute value to assign.
|
|
860
|
+
*/
|
|
861
|
+
value: string;
|
|
862
|
+
}
|
|
863
|
+
|
|
763
864
|
export interface Style {
|
|
764
865
|
/**
|
|
765
866
|
* CSS property name in camelCase or kebab-case.
|
|
@@ -784,8 +885,8 @@ export interface ExperimentVariantUpdateParams {
|
|
|
784
885
|
/**
|
|
785
886
|
* Promote or demote this variant as the control. Promoting a second variant while
|
|
786
887
|
* another already has `isControl: true` is rejected with 409. Demoting the control
|
|
787
|
-
* (`isControl: false`) is rejected
|
|
788
|
-
*
|
|
888
|
+
* (`isControl: false`) is rejected — an experiment must always keep a control.
|
|
889
|
+
* Null leaves the control flag unchanged.
|
|
789
890
|
*/
|
|
790
891
|
isControl?: boolean | null;
|
|
791
892
|
|
|
@@ -850,7 +951,7 @@ export namespace ExperimentVariantUpdateParams {
|
|
|
850
951
|
* Use this for `setAttribute` to avoid JSON-stringifying `{name: value}` yourself.
|
|
851
952
|
* Ignored for other actions.
|
|
852
953
|
*/
|
|
853
|
-
attribute?:
|
|
954
|
+
attribute?: DomModification.Attribute | null;
|
|
854
955
|
|
|
855
956
|
/**
|
|
856
957
|
* Use this for `setStyle` to avoid JSON-stringifying `{property: value}` yourself.
|
|
@@ -869,6 +970,22 @@ export namespace ExperimentVariantUpdateParams {
|
|
|
869
970
|
}
|
|
870
971
|
|
|
871
972
|
export namespace DomModification {
|
|
973
|
+
/**
|
|
974
|
+
* Use this for `setAttribute` to avoid JSON-stringifying `{name: value}` yourself.
|
|
975
|
+
* Ignored for other actions.
|
|
976
|
+
*/
|
|
977
|
+
export interface Attribute {
|
|
978
|
+
/**
|
|
979
|
+
* HTML attribute name.
|
|
980
|
+
*/
|
|
981
|
+
name: string;
|
|
982
|
+
|
|
983
|
+
/**
|
|
984
|
+
* Attribute value to assign.
|
|
985
|
+
*/
|
|
986
|
+
value: string;
|
|
987
|
+
}
|
|
988
|
+
|
|
872
989
|
export interface Style {
|
|
873
990
|
/**
|
|
874
991
|
* CSS property name in camelCase or kebab-case.
|