@oursprivacy/platform-sdk 1.30.0 → 1.32.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 +20 -0
- package/client.d.mts +4 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +4 -4
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/consent-settings.d.mts +46 -0
- package/resources/consent-settings.d.mts.map +1 -1
- package/resources/consent-settings.d.ts +46 -0
- package/resources/consent-settings.d.ts.map +1 -1
- 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 +13 -13
- package/resources/experiments.d.mts.map +1 -1
- package/resources/experiments.d.ts +13 -13
- package/resources/experiments.d.ts.map +1 -1
- package/resources/experiments.js +3 -3
- package/resources/experiments.mjs +3 -3
- package/resources/index.d.mts +2 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/versions.d.mts +618 -1
- package/resources/versions.d.mts.map +1 -1
- package/resources/versions.d.ts +618 -1
- package/resources/versions.d.ts.map +1 -1
- package/resources/versions.js +33 -0
- package/resources/versions.js.map +1 -1
- package/resources/versions.mjs +33 -0
- package/resources/versions.mjs.map +1 -1
- package/resources/web-scanners.d.mts +267 -1
- package/resources/web-scanners.d.mts.map +1 -1
- package/resources/web-scanners.d.ts +267 -1
- package/resources/web-scanners.d.ts.map +1 -1
- package/resources/web-scanners.js +44 -0
- package/resources/web-scanners.js.map +1 -1
- package/resources/web-scanners.mjs +44 -0
- package/resources/web-scanners.mjs.map +1 -1
- package/src/client.ts +18 -0
- package/src/resources/consent-settings.ts +54 -0
- package/src/resources/destinations.ts +9 -2
- package/src/resources/experiments.ts +13 -13
- package/src/resources/index.ts +9 -0
- package/src/resources/versions.ts +748 -0
- package/src/resources/web-scanners.ts +431 -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
package/resources/versions.d.mts
CHANGED
|
@@ -75,6 +75,35 @@ export declare class Versions extends APIResource {
|
|
|
75
75
|
* the live draft state. Requires scope: version:find
|
|
76
76
|
*/
|
|
77
77
|
diff(id: 'draft' | (string & {}), query?: VersionDiffParams | null | undefined, options?: RequestOptions): APIPromise<VersionDiffResponse>;
|
|
78
|
+
/**
|
|
79
|
+
* Revert one or more pending draft changes back to the latest published version
|
|
80
|
+
* (the "abandon a change" action). Send a body listing the entities to revert;
|
|
81
|
+
* each is handled independently — a modified entity is restored to its published
|
|
82
|
+
* values, a deleted entity is recreated, and a newly-added entity is discarded. An
|
|
83
|
+
* entity that already matches the published version is left untouched and is not
|
|
84
|
+
* counted (a no-op). An entity present in neither the draft nor the published
|
|
85
|
+
* version is reported in `notFoundCount`. `remainingChanges` is the total number
|
|
86
|
+
* of pending draft changes left after this call, which may stay above zero when
|
|
87
|
+
* other unreverted changes remain.
|
|
88
|
+
*
|
|
89
|
+
* The `experiments` and `experimentVariants` collections are not supported here —
|
|
90
|
+
* use the experiment lifecycle endpoints (`/start`, `/stop`) for those — but
|
|
91
|
+
* `experimentSettings` is supported. To discard every pending change at once, use
|
|
92
|
+
* `POST /rest/v1/versions/draft/abandon`. (`draft` is a literal path segment
|
|
93
|
+
* identifying the live draft as the target.) Requires scope: version:publish
|
|
94
|
+
*/
|
|
95
|
+
revert(id: 'draft', body: VersionRevertParams, options?: RequestOptions): APIPromise<VersionRevertResponse>;
|
|
96
|
+
/**
|
|
97
|
+
* Abandon ALL pending draft changes, resetting every supported entity collection
|
|
98
|
+
* back to the latest published version. Running experiments and experiment
|
|
99
|
+
* variants are not affected (ship those via the experiment lifecycle endpoints),
|
|
100
|
+
* but experiment settings are reset. Returns HTTP 409 when there is no published
|
|
101
|
+
* version to revert to, or when another publish or abandon is already in flight.
|
|
102
|
+
* To revert only specific changes, use `POST /rest/v1/versions/draft/revert`.
|
|
103
|
+
* (`draft` is a literal path segment identifying the live draft as the target.)
|
|
104
|
+
* Requires scope: version:publish
|
|
105
|
+
*/
|
|
106
|
+
abandon(id: 'draft', options?: RequestOptions): APIPromise<VersionAbandonResponse>;
|
|
78
107
|
}
|
|
79
108
|
export type VersionListResponsesCursor = Cursor<VersionListResponse>;
|
|
80
109
|
export interface VersionListResponse {
|
|
@@ -189,6 +218,7 @@ export declare namespace VersionDiffResponse {
|
|
|
189
218
|
mappings: Differences.Mappings;
|
|
190
219
|
replaySettings: Differences.ReplaySettings;
|
|
191
220
|
sources: Differences.Sources;
|
|
221
|
+
tagManagers: Differences.TagManagers;
|
|
192
222
|
tagManagerTags: Differences.TagManagerTags;
|
|
193
223
|
tagManagerTriggers: Differences.TagManagerTriggers;
|
|
194
224
|
tagManagerVariables: Differences.TagManagerVariables;
|
|
@@ -227,6 +257,12 @@ export declare namespace VersionDiffResponse {
|
|
|
227
257
|
* `tagManagerVariables`. `null` for every other collection.
|
|
228
258
|
*/
|
|
229
259
|
tagManagerId?: string | null;
|
|
260
|
+
/**
|
|
261
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
262
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
263
|
+
* collections without a subtype.
|
|
264
|
+
*/
|
|
265
|
+
type?: string | null;
|
|
230
266
|
}
|
|
231
267
|
interface Modified {
|
|
232
268
|
new: Modified.New;
|
|
@@ -255,6 +291,12 @@ export declare namespace VersionDiffResponse {
|
|
|
255
291
|
* `tagManagerVariables`. `null` for every other collection.
|
|
256
292
|
*/
|
|
257
293
|
tagManagerId?: string | null;
|
|
294
|
+
/**
|
|
295
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
296
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
297
|
+
* collections without a subtype.
|
|
298
|
+
*/
|
|
299
|
+
type?: string | null;
|
|
258
300
|
}
|
|
259
301
|
interface Old {
|
|
260
302
|
id: string;
|
|
@@ -278,6 +320,12 @@ export declare namespace VersionDiffResponse {
|
|
|
278
320
|
* `tagManagerVariables`. `null` for every other collection.
|
|
279
321
|
*/
|
|
280
322
|
tagManagerId?: string | null;
|
|
323
|
+
/**
|
|
324
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
325
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
326
|
+
* collections without a subtype.
|
|
327
|
+
*/
|
|
328
|
+
type?: string | null;
|
|
281
329
|
}
|
|
282
330
|
}
|
|
283
331
|
interface Removed {
|
|
@@ -302,6 +350,12 @@ export declare namespace VersionDiffResponse {
|
|
|
302
350
|
* `tagManagerVariables`. `null` for every other collection.
|
|
303
351
|
*/
|
|
304
352
|
tagManagerId?: string | null;
|
|
353
|
+
/**
|
|
354
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
355
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
356
|
+
* collections without a subtype.
|
|
357
|
+
*/
|
|
358
|
+
type?: string | null;
|
|
305
359
|
}
|
|
306
360
|
}
|
|
307
361
|
interface ConsentSettings {
|
|
@@ -337,6 +391,12 @@ export declare namespace VersionDiffResponse {
|
|
|
337
391
|
* `tagManagerVariables`. `null` for every other collection.
|
|
338
392
|
*/
|
|
339
393
|
tagManagerId?: string | null;
|
|
394
|
+
/**
|
|
395
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
396
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
397
|
+
* collections without a subtype.
|
|
398
|
+
*/
|
|
399
|
+
type?: string | null;
|
|
340
400
|
}
|
|
341
401
|
interface Modified {
|
|
342
402
|
new: Modified.New;
|
|
@@ -365,6 +425,12 @@ export declare namespace VersionDiffResponse {
|
|
|
365
425
|
* `tagManagerVariables`. `null` for every other collection.
|
|
366
426
|
*/
|
|
367
427
|
tagManagerId?: string | null;
|
|
428
|
+
/**
|
|
429
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
430
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
431
|
+
* collections without a subtype.
|
|
432
|
+
*/
|
|
433
|
+
type?: string | null;
|
|
368
434
|
}
|
|
369
435
|
interface Old {
|
|
370
436
|
id: string;
|
|
@@ -388,6 +454,12 @@ export declare namespace VersionDiffResponse {
|
|
|
388
454
|
* `tagManagerVariables`. `null` for every other collection.
|
|
389
455
|
*/
|
|
390
456
|
tagManagerId?: string | null;
|
|
457
|
+
/**
|
|
458
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
459
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
460
|
+
* collections without a subtype.
|
|
461
|
+
*/
|
|
462
|
+
type?: string | null;
|
|
391
463
|
}
|
|
392
464
|
}
|
|
393
465
|
interface Removed {
|
|
@@ -412,6 +484,12 @@ export declare namespace VersionDiffResponse {
|
|
|
412
484
|
* `tagManagerVariables`. `null` for every other collection.
|
|
413
485
|
*/
|
|
414
486
|
tagManagerId?: string | null;
|
|
487
|
+
/**
|
|
488
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
489
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
490
|
+
* collections without a subtype.
|
|
491
|
+
*/
|
|
492
|
+
type?: string | null;
|
|
415
493
|
}
|
|
416
494
|
}
|
|
417
495
|
interface DataGovernanceEvents {
|
|
@@ -447,6 +525,12 @@ export declare namespace VersionDiffResponse {
|
|
|
447
525
|
* `tagManagerVariables`. `null` for every other collection.
|
|
448
526
|
*/
|
|
449
527
|
tagManagerId?: string | null;
|
|
528
|
+
/**
|
|
529
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
530
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
531
|
+
* collections without a subtype.
|
|
532
|
+
*/
|
|
533
|
+
type?: string | null;
|
|
450
534
|
}
|
|
451
535
|
interface Modified {
|
|
452
536
|
new: Modified.New;
|
|
@@ -475,6 +559,12 @@ export declare namespace VersionDiffResponse {
|
|
|
475
559
|
* `tagManagerVariables`. `null` for every other collection.
|
|
476
560
|
*/
|
|
477
561
|
tagManagerId?: string | null;
|
|
562
|
+
/**
|
|
563
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
564
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
565
|
+
* collections without a subtype.
|
|
566
|
+
*/
|
|
567
|
+
type?: string | null;
|
|
478
568
|
}
|
|
479
569
|
interface Old {
|
|
480
570
|
id: string;
|
|
@@ -498,6 +588,12 @@ export declare namespace VersionDiffResponse {
|
|
|
498
588
|
* `tagManagerVariables`. `null` for every other collection.
|
|
499
589
|
*/
|
|
500
590
|
tagManagerId?: string | null;
|
|
591
|
+
/**
|
|
592
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
593
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
594
|
+
* collections without a subtype.
|
|
595
|
+
*/
|
|
596
|
+
type?: string | null;
|
|
501
597
|
}
|
|
502
598
|
}
|
|
503
599
|
interface Removed {
|
|
@@ -522,6 +618,12 @@ export declare namespace VersionDiffResponse {
|
|
|
522
618
|
* `tagManagerVariables`. `null` for every other collection.
|
|
523
619
|
*/
|
|
524
620
|
tagManagerId?: string | null;
|
|
621
|
+
/**
|
|
622
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
623
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
624
|
+
* collections without a subtype.
|
|
625
|
+
*/
|
|
626
|
+
type?: string | null;
|
|
525
627
|
}
|
|
526
628
|
}
|
|
527
629
|
interface DataGovernanceRules {
|
|
@@ -557,6 +659,12 @@ export declare namespace VersionDiffResponse {
|
|
|
557
659
|
* `tagManagerVariables`. `null` for every other collection.
|
|
558
660
|
*/
|
|
559
661
|
tagManagerId?: string | null;
|
|
662
|
+
/**
|
|
663
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
664
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
665
|
+
* collections without a subtype.
|
|
666
|
+
*/
|
|
667
|
+
type?: string | null;
|
|
560
668
|
}
|
|
561
669
|
interface Modified {
|
|
562
670
|
new: Modified.New;
|
|
@@ -585,6 +693,12 @@ export declare namespace VersionDiffResponse {
|
|
|
585
693
|
* `tagManagerVariables`. `null` for every other collection.
|
|
586
694
|
*/
|
|
587
695
|
tagManagerId?: string | null;
|
|
696
|
+
/**
|
|
697
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
698
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
699
|
+
* collections without a subtype.
|
|
700
|
+
*/
|
|
701
|
+
type?: string | null;
|
|
588
702
|
}
|
|
589
703
|
interface Old {
|
|
590
704
|
id: string;
|
|
@@ -608,6 +722,12 @@ export declare namespace VersionDiffResponse {
|
|
|
608
722
|
* `tagManagerVariables`. `null` for every other collection.
|
|
609
723
|
*/
|
|
610
724
|
tagManagerId?: string | null;
|
|
725
|
+
/**
|
|
726
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
727
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
728
|
+
* collections without a subtype.
|
|
729
|
+
*/
|
|
730
|
+
type?: string | null;
|
|
611
731
|
}
|
|
612
732
|
}
|
|
613
733
|
interface Removed {
|
|
@@ -632,6 +752,12 @@ export declare namespace VersionDiffResponse {
|
|
|
632
752
|
* `tagManagerVariables`. `null` for every other collection.
|
|
633
753
|
*/
|
|
634
754
|
tagManagerId?: string | null;
|
|
755
|
+
/**
|
|
756
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
757
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
758
|
+
* collections without a subtype.
|
|
759
|
+
*/
|
|
760
|
+
type?: string | null;
|
|
635
761
|
}
|
|
636
762
|
}
|
|
637
763
|
interface Destinations {
|
|
@@ -667,6 +793,12 @@ export declare namespace VersionDiffResponse {
|
|
|
667
793
|
* `tagManagerVariables`. `null` for every other collection.
|
|
668
794
|
*/
|
|
669
795
|
tagManagerId?: string | null;
|
|
796
|
+
/**
|
|
797
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
798
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
799
|
+
* collections without a subtype.
|
|
800
|
+
*/
|
|
801
|
+
type?: string | null;
|
|
670
802
|
}
|
|
671
803
|
interface Modified {
|
|
672
804
|
new: Modified.New;
|
|
@@ -695,6 +827,12 @@ export declare namespace VersionDiffResponse {
|
|
|
695
827
|
* `tagManagerVariables`. `null` for every other collection.
|
|
696
828
|
*/
|
|
697
829
|
tagManagerId?: string | null;
|
|
830
|
+
/**
|
|
831
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
832
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
833
|
+
* collections without a subtype.
|
|
834
|
+
*/
|
|
835
|
+
type?: string | null;
|
|
698
836
|
}
|
|
699
837
|
interface Old {
|
|
700
838
|
id: string;
|
|
@@ -718,6 +856,12 @@ export declare namespace VersionDiffResponse {
|
|
|
718
856
|
* `tagManagerVariables`. `null` for every other collection.
|
|
719
857
|
*/
|
|
720
858
|
tagManagerId?: string | null;
|
|
859
|
+
/**
|
|
860
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
861
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
862
|
+
* collections without a subtype.
|
|
863
|
+
*/
|
|
864
|
+
type?: string | null;
|
|
721
865
|
}
|
|
722
866
|
}
|
|
723
867
|
interface Removed {
|
|
@@ -742,6 +886,12 @@ export declare namespace VersionDiffResponse {
|
|
|
742
886
|
* `tagManagerVariables`. `null` for every other collection.
|
|
743
887
|
*/
|
|
744
888
|
tagManagerId?: string | null;
|
|
889
|
+
/**
|
|
890
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
891
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
892
|
+
* collections without a subtype.
|
|
893
|
+
*/
|
|
894
|
+
type?: string | null;
|
|
745
895
|
}
|
|
746
896
|
}
|
|
747
897
|
interface Experiments {
|
|
@@ -777,6 +927,12 @@ export declare namespace VersionDiffResponse {
|
|
|
777
927
|
* `tagManagerVariables`. `null` for every other collection.
|
|
778
928
|
*/
|
|
779
929
|
tagManagerId?: string | null;
|
|
930
|
+
/**
|
|
931
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
932
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
933
|
+
* collections without a subtype.
|
|
934
|
+
*/
|
|
935
|
+
type?: string | null;
|
|
780
936
|
}
|
|
781
937
|
interface Modified {
|
|
782
938
|
new: Modified.New;
|
|
@@ -805,6 +961,12 @@ export declare namespace VersionDiffResponse {
|
|
|
805
961
|
* `tagManagerVariables`. `null` for every other collection.
|
|
806
962
|
*/
|
|
807
963
|
tagManagerId?: string | null;
|
|
964
|
+
/**
|
|
965
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
966
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
967
|
+
* collections without a subtype.
|
|
968
|
+
*/
|
|
969
|
+
type?: string | null;
|
|
808
970
|
}
|
|
809
971
|
interface Old {
|
|
810
972
|
id: string;
|
|
@@ -828,6 +990,12 @@ export declare namespace VersionDiffResponse {
|
|
|
828
990
|
* `tagManagerVariables`. `null` for every other collection.
|
|
829
991
|
*/
|
|
830
992
|
tagManagerId?: string | null;
|
|
993
|
+
/**
|
|
994
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
995
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
996
|
+
* collections without a subtype.
|
|
997
|
+
*/
|
|
998
|
+
type?: string | null;
|
|
831
999
|
}
|
|
832
1000
|
}
|
|
833
1001
|
interface Removed {
|
|
@@ -852,6 +1020,12 @@ export declare namespace VersionDiffResponse {
|
|
|
852
1020
|
* `tagManagerVariables`. `null` for every other collection.
|
|
853
1021
|
*/
|
|
854
1022
|
tagManagerId?: string | null;
|
|
1023
|
+
/**
|
|
1024
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
1025
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
1026
|
+
* collections without a subtype.
|
|
1027
|
+
*/
|
|
1028
|
+
type?: string | null;
|
|
855
1029
|
}
|
|
856
1030
|
}
|
|
857
1031
|
interface ExperimentSettings {
|
|
@@ -887,6 +1061,12 @@ export declare namespace VersionDiffResponse {
|
|
|
887
1061
|
* `tagManagerVariables`. `null` for every other collection.
|
|
888
1062
|
*/
|
|
889
1063
|
tagManagerId?: string | null;
|
|
1064
|
+
/**
|
|
1065
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
1066
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
1067
|
+
* collections without a subtype.
|
|
1068
|
+
*/
|
|
1069
|
+
type?: string | null;
|
|
890
1070
|
}
|
|
891
1071
|
interface Modified {
|
|
892
1072
|
new: Modified.New;
|
|
@@ -915,6 +1095,12 @@ export declare namespace VersionDiffResponse {
|
|
|
915
1095
|
* `tagManagerVariables`. `null` for every other collection.
|
|
916
1096
|
*/
|
|
917
1097
|
tagManagerId?: string | null;
|
|
1098
|
+
/**
|
|
1099
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
1100
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
1101
|
+
* collections without a subtype.
|
|
1102
|
+
*/
|
|
1103
|
+
type?: string | null;
|
|
918
1104
|
}
|
|
919
1105
|
interface Old {
|
|
920
1106
|
id: string;
|
|
@@ -938,6 +1124,12 @@ export declare namespace VersionDiffResponse {
|
|
|
938
1124
|
* `tagManagerVariables`. `null` for every other collection.
|
|
939
1125
|
*/
|
|
940
1126
|
tagManagerId?: string | null;
|
|
1127
|
+
/**
|
|
1128
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
1129
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
1130
|
+
* collections without a subtype.
|
|
1131
|
+
*/
|
|
1132
|
+
type?: string | null;
|
|
941
1133
|
}
|
|
942
1134
|
}
|
|
943
1135
|
interface Removed {
|
|
@@ -962,6 +1154,12 @@ export declare namespace VersionDiffResponse {
|
|
|
962
1154
|
* `tagManagerVariables`. `null` for every other collection.
|
|
963
1155
|
*/
|
|
964
1156
|
tagManagerId?: string | null;
|
|
1157
|
+
/**
|
|
1158
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
1159
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
1160
|
+
* collections without a subtype.
|
|
1161
|
+
*/
|
|
1162
|
+
type?: string | null;
|
|
965
1163
|
}
|
|
966
1164
|
}
|
|
967
1165
|
interface ExperimentVariants {
|
|
@@ -997,6 +1195,12 @@ export declare namespace VersionDiffResponse {
|
|
|
997
1195
|
* `tagManagerVariables`. `null` for every other collection.
|
|
998
1196
|
*/
|
|
999
1197
|
tagManagerId?: string | null;
|
|
1198
|
+
/**
|
|
1199
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
1200
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
1201
|
+
* collections without a subtype.
|
|
1202
|
+
*/
|
|
1203
|
+
type?: string | null;
|
|
1000
1204
|
}
|
|
1001
1205
|
interface Modified {
|
|
1002
1206
|
new: Modified.New;
|
|
@@ -1025,6 +1229,12 @@ export declare namespace VersionDiffResponse {
|
|
|
1025
1229
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1026
1230
|
*/
|
|
1027
1231
|
tagManagerId?: string | null;
|
|
1232
|
+
/**
|
|
1233
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
1234
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
1235
|
+
* collections without a subtype.
|
|
1236
|
+
*/
|
|
1237
|
+
type?: string | null;
|
|
1028
1238
|
}
|
|
1029
1239
|
interface Old {
|
|
1030
1240
|
id: string;
|
|
@@ -1048,6 +1258,12 @@ export declare namespace VersionDiffResponse {
|
|
|
1048
1258
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1049
1259
|
*/
|
|
1050
1260
|
tagManagerId?: string | null;
|
|
1261
|
+
/**
|
|
1262
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
1263
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
1264
|
+
* collections without a subtype.
|
|
1265
|
+
*/
|
|
1266
|
+
type?: string | null;
|
|
1051
1267
|
}
|
|
1052
1268
|
}
|
|
1053
1269
|
interface Removed {
|
|
@@ -1072,6 +1288,12 @@ export declare namespace VersionDiffResponse {
|
|
|
1072
1288
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1073
1289
|
*/
|
|
1074
1290
|
tagManagerId?: string | null;
|
|
1291
|
+
/**
|
|
1292
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
1293
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
1294
|
+
* collections without a subtype.
|
|
1295
|
+
*/
|
|
1296
|
+
type?: string | null;
|
|
1075
1297
|
}
|
|
1076
1298
|
}
|
|
1077
1299
|
interface ExternalAllowedEventData {
|
|
@@ -1107,6 +1329,12 @@ export declare namespace VersionDiffResponse {
|
|
|
1107
1329
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1108
1330
|
*/
|
|
1109
1331
|
tagManagerId?: string | null;
|
|
1332
|
+
/**
|
|
1333
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
1334
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
1335
|
+
* collections without a subtype.
|
|
1336
|
+
*/
|
|
1337
|
+
type?: string | null;
|
|
1110
1338
|
}
|
|
1111
1339
|
interface Modified {
|
|
1112
1340
|
new: Modified.New;
|
|
@@ -1135,6 +1363,12 @@ export declare namespace VersionDiffResponse {
|
|
|
1135
1363
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1136
1364
|
*/
|
|
1137
1365
|
tagManagerId?: string | null;
|
|
1366
|
+
/**
|
|
1367
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
1368
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
1369
|
+
* collections without a subtype.
|
|
1370
|
+
*/
|
|
1371
|
+
type?: string | null;
|
|
1138
1372
|
}
|
|
1139
1373
|
interface Old {
|
|
1140
1374
|
id: string;
|
|
@@ -1158,6 +1392,12 @@ export declare namespace VersionDiffResponse {
|
|
|
1158
1392
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1159
1393
|
*/
|
|
1160
1394
|
tagManagerId?: string | null;
|
|
1395
|
+
/**
|
|
1396
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
1397
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
1398
|
+
* collections without a subtype.
|
|
1399
|
+
*/
|
|
1400
|
+
type?: string | null;
|
|
1161
1401
|
}
|
|
1162
1402
|
}
|
|
1163
1403
|
interface Removed {
|
|
@@ -1182,6 +1422,12 @@ export declare namespace VersionDiffResponse {
|
|
|
1182
1422
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1183
1423
|
*/
|
|
1184
1424
|
tagManagerId?: string | null;
|
|
1425
|
+
/**
|
|
1426
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
1427
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
1428
|
+
* collections without a subtype.
|
|
1429
|
+
*/
|
|
1430
|
+
type?: string | null;
|
|
1185
1431
|
}
|
|
1186
1432
|
}
|
|
1187
1433
|
interface GlobalDispatchCenters {
|
|
@@ -1217,6 +1463,12 @@ export declare namespace VersionDiffResponse {
|
|
|
1217
1463
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1218
1464
|
*/
|
|
1219
1465
|
tagManagerId?: string | null;
|
|
1466
|
+
/**
|
|
1467
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
1468
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
1469
|
+
* collections without a subtype.
|
|
1470
|
+
*/
|
|
1471
|
+
type?: string | null;
|
|
1220
1472
|
}
|
|
1221
1473
|
interface Modified {
|
|
1222
1474
|
new: Modified.New;
|
|
@@ -1245,6 +1497,12 @@ export declare namespace VersionDiffResponse {
|
|
|
1245
1497
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1246
1498
|
*/
|
|
1247
1499
|
tagManagerId?: string | null;
|
|
1500
|
+
/**
|
|
1501
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
1502
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
1503
|
+
* collections without a subtype.
|
|
1504
|
+
*/
|
|
1505
|
+
type?: string | null;
|
|
1248
1506
|
}
|
|
1249
1507
|
interface Old {
|
|
1250
1508
|
id: string;
|
|
@@ -1268,6 +1526,12 @@ export declare namespace VersionDiffResponse {
|
|
|
1268
1526
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1269
1527
|
*/
|
|
1270
1528
|
tagManagerId?: string | null;
|
|
1529
|
+
/**
|
|
1530
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
1531
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
1532
|
+
* collections without a subtype.
|
|
1533
|
+
*/
|
|
1534
|
+
type?: string | null;
|
|
1271
1535
|
}
|
|
1272
1536
|
}
|
|
1273
1537
|
interface Removed {
|
|
@@ -1292,6 +1556,12 @@ export declare namespace VersionDiffResponse {
|
|
|
1292
1556
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1293
1557
|
*/
|
|
1294
1558
|
tagManagerId?: string | null;
|
|
1559
|
+
/**
|
|
1560
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
1561
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
1562
|
+
* collections without a subtype.
|
|
1563
|
+
*/
|
|
1564
|
+
type?: string | null;
|
|
1295
1565
|
}
|
|
1296
1566
|
}
|
|
1297
1567
|
interface Mappings {
|
|
@@ -1327,6 +1597,12 @@ export declare namespace VersionDiffResponse {
|
|
|
1327
1597
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1328
1598
|
*/
|
|
1329
1599
|
tagManagerId?: string | null;
|
|
1600
|
+
/**
|
|
1601
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
1602
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
1603
|
+
* collections without a subtype.
|
|
1604
|
+
*/
|
|
1605
|
+
type?: string | null;
|
|
1330
1606
|
}
|
|
1331
1607
|
interface Modified {
|
|
1332
1608
|
new: Modified.New;
|
|
@@ -1355,6 +1631,12 @@ export declare namespace VersionDiffResponse {
|
|
|
1355
1631
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1356
1632
|
*/
|
|
1357
1633
|
tagManagerId?: string | null;
|
|
1634
|
+
/**
|
|
1635
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
1636
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
1637
|
+
* collections without a subtype.
|
|
1638
|
+
*/
|
|
1639
|
+
type?: string | null;
|
|
1358
1640
|
}
|
|
1359
1641
|
interface Old {
|
|
1360
1642
|
id: string;
|
|
@@ -1378,6 +1660,12 @@ export declare namespace VersionDiffResponse {
|
|
|
1378
1660
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1379
1661
|
*/
|
|
1380
1662
|
tagManagerId?: string | null;
|
|
1663
|
+
/**
|
|
1664
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
1665
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
1666
|
+
* collections without a subtype.
|
|
1667
|
+
*/
|
|
1668
|
+
type?: string | null;
|
|
1381
1669
|
}
|
|
1382
1670
|
}
|
|
1383
1671
|
interface Removed {
|
|
@@ -1402,6 +1690,12 @@ export declare namespace VersionDiffResponse {
|
|
|
1402
1690
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1403
1691
|
*/
|
|
1404
1692
|
tagManagerId?: string | null;
|
|
1693
|
+
/**
|
|
1694
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
1695
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
1696
|
+
* collections without a subtype.
|
|
1697
|
+
*/
|
|
1698
|
+
type?: string | null;
|
|
1405
1699
|
}
|
|
1406
1700
|
}
|
|
1407
1701
|
interface ReplaySettings {
|
|
@@ -1437,6 +1731,12 @@ export declare namespace VersionDiffResponse {
|
|
|
1437
1731
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1438
1732
|
*/
|
|
1439
1733
|
tagManagerId?: string | null;
|
|
1734
|
+
/**
|
|
1735
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
1736
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
1737
|
+
* collections without a subtype.
|
|
1738
|
+
*/
|
|
1739
|
+
type?: string | null;
|
|
1440
1740
|
}
|
|
1441
1741
|
interface Modified {
|
|
1442
1742
|
new: Modified.New;
|
|
@@ -1465,6 +1765,12 @@ export declare namespace VersionDiffResponse {
|
|
|
1465
1765
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1466
1766
|
*/
|
|
1467
1767
|
tagManagerId?: string | null;
|
|
1768
|
+
/**
|
|
1769
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
1770
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
1771
|
+
* collections without a subtype.
|
|
1772
|
+
*/
|
|
1773
|
+
type?: string | null;
|
|
1468
1774
|
}
|
|
1469
1775
|
interface Old {
|
|
1470
1776
|
id: string;
|
|
@@ -1488,6 +1794,12 @@ export declare namespace VersionDiffResponse {
|
|
|
1488
1794
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1489
1795
|
*/
|
|
1490
1796
|
tagManagerId?: string | null;
|
|
1797
|
+
/**
|
|
1798
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
1799
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
1800
|
+
* collections without a subtype.
|
|
1801
|
+
*/
|
|
1802
|
+
type?: string | null;
|
|
1491
1803
|
}
|
|
1492
1804
|
}
|
|
1493
1805
|
interface Removed {
|
|
@@ -1512,6 +1824,12 @@ export declare namespace VersionDiffResponse {
|
|
|
1512
1824
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1513
1825
|
*/
|
|
1514
1826
|
tagManagerId?: string | null;
|
|
1827
|
+
/**
|
|
1828
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
1829
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
1830
|
+
* collections without a subtype.
|
|
1831
|
+
*/
|
|
1832
|
+
type?: string | null;
|
|
1515
1833
|
}
|
|
1516
1834
|
}
|
|
1517
1835
|
interface Sources {
|
|
@@ -1547,6 +1865,146 @@ export declare namespace VersionDiffResponse {
|
|
|
1547
1865
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1548
1866
|
*/
|
|
1549
1867
|
tagManagerId?: string | null;
|
|
1868
|
+
/**
|
|
1869
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
1870
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
1871
|
+
* collections without a subtype.
|
|
1872
|
+
*/
|
|
1873
|
+
type?: string | null;
|
|
1874
|
+
}
|
|
1875
|
+
interface Modified {
|
|
1876
|
+
new: Modified.New;
|
|
1877
|
+
old: Modified.Old;
|
|
1878
|
+
}
|
|
1879
|
+
namespace Modified {
|
|
1880
|
+
interface New {
|
|
1881
|
+
id: string;
|
|
1882
|
+
/**
|
|
1883
|
+
* Human-readable label for the entity at the snapshot it was captured in. For most
|
|
1884
|
+
* collections this is the entity's `name` field; for `allowedEvents` it is a
|
|
1885
|
+
* computed summary of the event's key fields. Two `modified` items can therefore
|
|
1886
|
+
* have identical `old.name` and `new.name` even though their underlying records
|
|
1887
|
+
* differ — the change is in fields not surfaced by the summary. Use the `id` to
|
|
1888
|
+
* fetch full detail.
|
|
1889
|
+
*/
|
|
1890
|
+
name?: string | null;
|
|
1891
|
+
/**
|
|
1892
|
+
* Optional change-classifier. Currently set to `'Reordered'` on `mappings`
|
|
1893
|
+
* modifications when the only change is priority reordering — this lets clients
|
|
1894
|
+
* de-emphasize them in change-review UI. `null` for every other diff item.
|
|
1895
|
+
*/
|
|
1896
|
+
summary?: string | null;
|
|
1897
|
+
/**
|
|
1898
|
+
* Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
|
|
1899
|
+
* `tagManagerVariables`. `null` for every other collection.
|
|
1900
|
+
*/
|
|
1901
|
+
tagManagerId?: string | null;
|
|
1902
|
+
/**
|
|
1903
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
1904
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
1905
|
+
* collections without a subtype.
|
|
1906
|
+
*/
|
|
1907
|
+
type?: string | null;
|
|
1908
|
+
}
|
|
1909
|
+
interface Old {
|
|
1910
|
+
id: string;
|
|
1911
|
+
/**
|
|
1912
|
+
* Human-readable label for the entity at the snapshot it was captured in. For most
|
|
1913
|
+
* collections this is the entity's `name` field; for `allowedEvents` it is a
|
|
1914
|
+
* computed summary of the event's key fields. Two `modified` items can therefore
|
|
1915
|
+
* have identical `old.name` and `new.name` even though their underlying records
|
|
1916
|
+
* differ — the change is in fields not surfaced by the summary. Use the `id` to
|
|
1917
|
+
* fetch full detail.
|
|
1918
|
+
*/
|
|
1919
|
+
name?: string | null;
|
|
1920
|
+
/**
|
|
1921
|
+
* Optional change-classifier. Currently set to `'Reordered'` on `mappings`
|
|
1922
|
+
* modifications when the only change is priority reordering — this lets clients
|
|
1923
|
+
* de-emphasize them in change-review UI. `null` for every other diff item.
|
|
1924
|
+
*/
|
|
1925
|
+
summary?: string | null;
|
|
1926
|
+
/**
|
|
1927
|
+
* Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
|
|
1928
|
+
* `tagManagerVariables`. `null` for every other collection.
|
|
1929
|
+
*/
|
|
1930
|
+
tagManagerId?: string | null;
|
|
1931
|
+
/**
|
|
1932
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
1933
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
1934
|
+
* collections without a subtype.
|
|
1935
|
+
*/
|
|
1936
|
+
type?: string | null;
|
|
1937
|
+
}
|
|
1938
|
+
}
|
|
1939
|
+
interface Removed {
|
|
1940
|
+
id: string;
|
|
1941
|
+
/**
|
|
1942
|
+
* Human-readable label for the entity at the snapshot it was captured in. For most
|
|
1943
|
+
* collections this is the entity's `name` field; for `allowedEvents` it is a
|
|
1944
|
+
* computed summary of the event's key fields. Two `modified` items can therefore
|
|
1945
|
+
* have identical `old.name` and `new.name` even though their underlying records
|
|
1946
|
+
* differ — the change is in fields not surfaced by the summary. Use the `id` to
|
|
1947
|
+
* fetch full detail.
|
|
1948
|
+
*/
|
|
1949
|
+
name?: string | null;
|
|
1950
|
+
/**
|
|
1951
|
+
* Optional change-classifier. Currently set to `'Reordered'` on `mappings`
|
|
1952
|
+
* modifications when the only change is priority reordering — this lets clients
|
|
1953
|
+
* de-emphasize them in change-review UI. `null` for every other diff item.
|
|
1954
|
+
*/
|
|
1955
|
+
summary?: string | null;
|
|
1956
|
+
/**
|
|
1957
|
+
* Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
|
|
1958
|
+
* `tagManagerVariables`. `null` for every other collection.
|
|
1959
|
+
*/
|
|
1960
|
+
tagManagerId?: string | null;
|
|
1961
|
+
/**
|
|
1962
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
1963
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
1964
|
+
* collections without a subtype.
|
|
1965
|
+
*/
|
|
1966
|
+
type?: string | null;
|
|
1967
|
+
}
|
|
1968
|
+
}
|
|
1969
|
+
interface TagManagers {
|
|
1970
|
+
added: Array<TagManagers.Added>;
|
|
1971
|
+
/**
|
|
1972
|
+
* Entities present in both snapshots but with at least one field changed. `old` is
|
|
1973
|
+
* the snapshot of the entity in the baseline (latest published); `new` is the
|
|
1974
|
+
* snapshot in the comparison target (the draft).
|
|
1975
|
+
*/
|
|
1976
|
+
modified: Array<TagManagers.Modified>;
|
|
1977
|
+
removed: Array<TagManagers.Removed>;
|
|
1978
|
+
}
|
|
1979
|
+
namespace TagManagers {
|
|
1980
|
+
interface Added {
|
|
1981
|
+
id: string;
|
|
1982
|
+
/**
|
|
1983
|
+
* Human-readable label for the entity at the snapshot it was captured in. For most
|
|
1984
|
+
* collections this is the entity's `name` field; for `allowedEvents` it is a
|
|
1985
|
+
* computed summary of the event's key fields. Two `modified` items can therefore
|
|
1986
|
+
* have identical `old.name` and `new.name` even though their underlying records
|
|
1987
|
+
* differ — the change is in fields not surfaced by the summary. Use the `id` to
|
|
1988
|
+
* fetch full detail.
|
|
1989
|
+
*/
|
|
1990
|
+
name?: string | null;
|
|
1991
|
+
/**
|
|
1992
|
+
* Optional change-classifier. Currently set to `'Reordered'` on `mappings`
|
|
1993
|
+
* modifications when the only change is priority reordering — this lets clients
|
|
1994
|
+
* de-emphasize them in change-review UI. `null` for every other diff item.
|
|
1995
|
+
*/
|
|
1996
|
+
summary?: string | null;
|
|
1997
|
+
/**
|
|
1998
|
+
* Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
|
|
1999
|
+
* `tagManagerVariables`. `null` for every other collection.
|
|
2000
|
+
*/
|
|
2001
|
+
tagManagerId?: string | null;
|
|
2002
|
+
/**
|
|
2003
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
2004
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
2005
|
+
* collections without a subtype.
|
|
2006
|
+
*/
|
|
2007
|
+
type?: string | null;
|
|
1550
2008
|
}
|
|
1551
2009
|
interface Modified {
|
|
1552
2010
|
new: Modified.New;
|
|
@@ -1575,6 +2033,12 @@ export declare namespace VersionDiffResponse {
|
|
|
1575
2033
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1576
2034
|
*/
|
|
1577
2035
|
tagManagerId?: string | null;
|
|
2036
|
+
/**
|
|
2037
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
2038
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
2039
|
+
* collections without a subtype.
|
|
2040
|
+
*/
|
|
2041
|
+
type?: string | null;
|
|
1578
2042
|
}
|
|
1579
2043
|
interface Old {
|
|
1580
2044
|
id: string;
|
|
@@ -1598,6 +2062,12 @@ export declare namespace VersionDiffResponse {
|
|
|
1598
2062
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1599
2063
|
*/
|
|
1600
2064
|
tagManagerId?: string | null;
|
|
2065
|
+
/**
|
|
2066
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
2067
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
2068
|
+
* collections without a subtype.
|
|
2069
|
+
*/
|
|
2070
|
+
type?: string | null;
|
|
1601
2071
|
}
|
|
1602
2072
|
}
|
|
1603
2073
|
interface Removed {
|
|
@@ -1622,6 +2092,12 @@ export declare namespace VersionDiffResponse {
|
|
|
1622
2092
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1623
2093
|
*/
|
|
1624
2094
|
tagManagerId?: string | null;
|
|
2095
|
+
/**
|
|
2096
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
2097
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
2098
|
+
* collections without a subtype.
|
|
2099
|
+
*/
|
|
2100
|
+
type?: string | null;
|
|
1625
2101
|
}
|
|
1626
2102
|
}
|
|
1627
2103
|
interface TagManagerTags {
|
|
@@ -1657,6 +2133,12 @@ export declare namespace VersionDiffResponse {
|
|
|
1657
2133
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1658
2134
|
*/
|
|
1659
2135
|
tagManagerId?: string | null;
|
|
2136
|
+
/**
|
|
2137
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
2138
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
2139
|
+
* collections without a subtype.
|
|
2140
|
+
*/
|
|
2141
|
+
type?: string | null;
|
|
1660
2142
|
}
|
|
1661
2143
|
interface Modified {
|
|
1662
2144
|
new: Modified.New;
|
|
@@ -1685,6 +2167,12 @@ export declare namespace VersionDiffResponse {
|
|
|
1685
2167
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1686
2168
|
*/
|
|
1687
2169
|
tagManagerId?: string | null;
|
|
2170
|
+
/**
|
|
2171
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
2172
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
2173
|
+
* collections without a subtype.
|
|
2174
|
+
*/
|
|
2175
|
+
type?: string | null;
|
|
1688
2176
|
}
|
|
1689
2177
|
interface Old {
|
|
1690
2178
|
id: string;
|
|
@@ -1708,6 +2196,12 @@ export declare namespace VersionDiffResponse {
|
|
|
1708
2196
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1709
2197
|
*/
|
|
1710
2198
|
tagManagerId?: string | null;
|
|
2199
|
+
/**
|
|
2200
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
2201
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
2202
|
+
* collections without a subtype.
|
|
2203
|
+
*/
|
|
2204
|
+
type?: string | null;
|
|
1711
2205
|
}
|
|
1712
2206
|
}
|
|
1713
2207
|
interface Removed {
|
|
@@ -1732,6 +2226,12 @@ export declare namespace VersionDiffResponse {
|
|
|
1732
2226
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1733
2227
|
*/
|
|
1734
2228
|
tagManagerId?: string | null;
|
|
2229
|
+
/**
|
|
2230
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
2231
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
2232
|
+
* collections without a subtype.
|
|
2233
|
+
*/
|
|
2234
|
+
type?: string | null;
|
|
1735
2235
|
}
|
|
1736
2236
|
}
|
|
1737
2237
|
interface TagManagerTriggers {
|
|
@@ -1767,6 +2267,12 @@ export declare namespace VersionDiffResponse {
|
|
|
1767
2267
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1768
2268
|
*/
|
|
1769
2269
|
tagManagerId?: string | null;
|
|
2270
|
+
/**
|
|
2271
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
2272
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
2273
|
+
* collections without a subtype.
|
|
2274
|
+
*/
|
|
2275
|
+
type?: string | null;
|
|
1770
2276
|
}
|
|
1771
2277
|
interface Modified {
|
|
1772
2278
|
new: Modified.New;
|
|
@@ -1795,6 +2301,12 @@ export declare namespace VersionDiffResponse {
|
|
|
1795
2301
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1796
2302
|
*/
|
|
1797
2303
|
tagManagerId?: string | null;
|
|
2304
|
+
/**
|
|
2305
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
2306
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
2307
|
+
* collections without a subtype.
|
|
2308
|
+
*/
|
|
2309
|
+
type?: string | null;
|
|
1798
2310
|
}
|
|
1799
2311
|
interface Old {
|
|
1800
2312
|
id: string;
|
|
@@ -1818,6 +2330,12 @@ export declare namespace VersionDiffResponse {
|
|
|
1818
2330
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1819
2331
|
*/
|
|
1820
2332
|
tagManagerId?: string | null;
|
|
2333
|
+
/**
|
|
2334
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
2335
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
2336
|
+
* collections without a subtype.
|
|
2337
|
+
*/
|
|
2338
|
+
type?: string | null;
|
|
1821
2339
|
}
|
|
1822
2340
|
}
|
|
1823
2341
|
interface Removed {
|
|
@@ -1842,6 +2360,12 @@ export declare namespace VersionDiffResponse {
|
|
|
1842
2360
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1843
2361
|
*/
|
|
1844
2362
|
tagManagerId?: string | null;
|
|
2363
|
+
/**
|
|
2364
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
2365
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
2366
|
+
* collections without a subtype.
|
|
2367
|
+
*/
|
|
2368
|
+
type?: string | null;
|
|
1845
2369
|
}
|
|
1846
2370
|
}
|
|
1847
2371
|
interface TagManagerVariables {
|
|
@@ -1877,6 +2401,12 @@ export declare namespace VersionDiffResponse {
|
|
|
1877
2401
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1878
2402
|
*/
|
|
1879
2403
|
tagManagerId?: string | null;
|
|
2404
|
+
/**
|
|
2405
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
2406
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
2407
|
+
* collections without a subtype.
|
|
2408
|
+
*/
|
|
2409
|
+
type?: string | null;
|
|
1880
2410
|
}
|
|
1881
2411
|
interface Modified {
|
|
1882
2412
|
new: Modified.New;
|
|
@@ -1905,6 +2435,12 @@ export declare namespace VersionDiffResponse {
|
|
|
1905
2435
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1906
2436
|
*/
|
|
1907
2437
|
tagManagerId?: string | null;
|
|
2438
|
+
/**
|
|
2439
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
2440
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
2441
|
+
* collections without a subtype.
|
|
2442
|
+
*/
|
|
2443
|
+
type?: string | null;
|
|
1908
2444
|
}
|
|
1909
2445
|
interface Old {
|
|
1910
2446
|
id: string;
|
|
@@ -1928,6 +2464,12 @@ export declare namespace VersionDiffResponse {
|
|
|
1928
2464
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1929
2465
|
*/
|
|
1930
2466
|
tagManagerId?: string | null;
|
|
2467
|
+
/**
|
|
2468
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
2469
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
2470
|
+
* collections without a subtype.
|
|
2471
|
+
*/
|
|
2472
|
+
type?: string | null;
|
|
1931
2473
|
}
|
|
1932
2474
|
}
|
|
1933
2475
|
interface Removed {
|
|
@@ -1952,10 +2494,62 @@ export declare namespace VersionDiffResponse {
|
|
|
1952
2494
|
* `tagManagerVariables`. `null` for every other collection.
|
|
1953
2495
|
*/
|
|
1954
2496
|
tagManagerId?: string | null;
|
|
2497
|
+
/**
|
|
2498
|
+
* Entity subtype when the collection has one — for `sources` it matches the
|
|
2499
|
+
* source's `type` field, letting clients distinguish kinds of source. `null` for
|
|
2500
|
+
* collections without a subtype.
|
|
2501
|
+
*/
|
|
2502
|
+
type?: string | null;
|
|
1955
2503
|
}
|
|
1956
2504
|
}
|
|
1957
2505
|
}
|
|
1958
2506
|
}
|
|
2507
|
+
export interface VersionRevertResponse {
|
|
2508
|
+
/**
|
|
2509
|
+
* Newly-added draft entities that were deleted.
|
|
2510
|
+
*/
|
|
2511
|
+
discardedCount: number;
|
|
2512
|
+
/**
|
|
2513
|
+
* Requested entities present in neither the draft nor the latest published
|
|
2514
|
+
* version.
|
|
2515
|
+
*/
|
|
2516
|
+
notFoundCount: number;
|
|
2517
|
+
/**
|
|
2518
|
+
* Total pending draft changes remaining after this operation.
|
|
2519
|
+
*/
|
|
2520
|
+
remainingChanges: number;
|
|
2521
|
+
/**
|
|
2522
|
+
* Entities recreated because they had been deleted from the draft.
|
|
2523
|
+
*/
|
|
2524
|
+
restoredCount: number;
|
|
2525
|
+
/**
|
|
2526
|
+
* Entities overwritten back to their published values.
|
|
2527
|
+
*/
|
|
2528
|
+
revertedCount: number;
|
|
2529
|
+
}
|
|
2530
|
+
export interface VersionAbandonResponse {
|
|
2531
|
+
/**
|
|
2532
|
+
* Newly-added draft entities that were deleted.
|
|
2533
|
+
*/
|
|
2534
|
+
discardedCount: number;
|
|
2535
|
+
/**
|
|
2536
|
+
* Requested entities present in neither the draft nor the latest published
|
|
2537
|
+
* version.
|
|
2538
|
+
*/
|
|
2539
|
+
notFoundCount: number;
|
|
2540
|
+
/**
|
|
2541
|
+
* Total pending draft changes remaining after this operation.
|
|
2542
|
+
*/
|
|
2543
|
+
remainingChanges: number;
|
|
2544
|
+
/**
|
|
2545
|
+
* Entities recreated because they had been deleted from the draft.
|
|
2546
|
+
*/
|
|
2547
|
+
restoredCount: number;
|
|
2548
|
+
/**
|
|
2549
|
+
* Entities overwritten back to their published values.
|
|
2550
|
+
*/
|
|
2551
|
+
revertedCount: number;
|
|
2552
|
+
}
|
|
1959
2553
|
export interface VersionListParams extends CursorParams {
|
|
1960
2554
|
/**
|
|
1961
2555
|
* Filter to only published or unpublished versions.
|
|
@@ -2065,7 +2659,30 @@ export interface VersionDiffParams {
|
|
|
2065
2659
|
*/
|
|
2066
2660
|
against?: string;
|
|
2067
2661
|
}
|
|
2662
|
+
export interface VersionRevertParams {
|
|
2663
|
+
/**
|
|
2664
|
+
* Draft entities to revert back to the latest published version. Each entry is
|
|
2665
|
+
* processed independently: a modified entity is restored to its published values,
|
|
2666
|
+
* a deleted entity is recreated, and a newly-added entity is discarded. Pass a
|
|
2667
|
+
* single entry to revert one change.
|
|
2668
|
+
*/
|
|
2669
|
+
entities: Array<VersionRevertParams.Entity>;
|
|
2670
|
+
}
|
|
2671
|
+
export declare namespace VersionRevertParams {
|
|
2672
|
+
interface Entity {
|
|
2673
|
+
/**
|
|
2674
|
+
* Id of the draft entity to revert.
|
|
2675
|
+
*/
|
|
2676
|
+
id: string;
|
|
2677
|
+
/**
|
|
2678
|
+
* Entity collection the id belongs to. `experiments` and `experimentVariants` are
|
|
2679
|
+
* not supported — use the experiment lifecycle endpoints for those — but
|
|
2680
|
+
* `experimentSettings` is.
|
|
2681
|
+
*/
|
|
2682
|
+
collection: 'allowedEvents' | 'consentSettings' | 'dataGovernanceEvents' | 'dataGovernanceRules' | 'destinations' | 'experimentSettings' | 'externalAllowedEventData' | 'globalDispatchCenters' | 'mappings' | 'replaySettings' | 'sources' | 'tagManagerTags' | 'tagManagerTriggers' | 'tagManagerVariables' | 'tagManagers';
|
|
2683
|
+
}
|
|
2684
|
+
}
|
|
2068
2685
|
export declare namespace Versions {
|
|
2069
|
-
export { type VersionListResponse as VersionListResponse, type VersionCreateResponse as VersionCreateResponse, type VersionRetrieveResponse as VersionRetrieveResponse, type VersionUpdateResponse as VersionUpdateResponse, type VersionPublishResponse as VersionPublishResponse, type VersionSnapshotResponse as VersionSnapshotResponse, type VersionDiffResponse as VersionDiffResponse, type VersionListResponsesCursor as VersionListResponsesCursor, type VersionListParams as VersionListParams, type VersionCreateParams as VersionCreateParams, type VersionUpdateParams as VersionUpdateParams, type VersionDiffParams as VersionDiffParams, };
|
|
2686
|
+
export { type VersionListResponse as VersionListResponse, type VersionCreateResponse as VersionCreateResponse, type VersionRetrieveResponse as VersionRetrieveResponse, type VersionUpdateResponse as VersionUpdateResponse, type VersionPublishResponse as VersionPublishResponse, type VersionSnapshotResponse as VersionSnapshotResponse, type VersionDiffResponse as VersionDiffResponse, type VersionRevertResponse as VersionRevertResponse, type VersionAbandonResponse as VersionAbandonResponse, type VersionListResponsesCursor as VersionListResponsesCursor, type VersionListParams as VersionListParams, type VersionCreateParams as VersionCreateParams, type VersionUpdateParams as VersionUpdateParams, type VersionDiffParams as VersionDiffParams, type VersionRevertParams as VersionRevertParams, };
|
|
2070
2687
|
}
|
|
2071
2688
|
//# sourceMappingURL=versions.d.mts.map
|