@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.
Files changed (56) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/client.d.mts +4 -4
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +4 -4
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/consent-settings.d.mts +46 -0
  10. package/resources/consent-settings.d.mts.map +1 -1
  11. package/resources/consent-settings.d.ts +46 -0
  12. package/resources/consent-settings.d.ts.map +1 -1
  13. package/resources/destinations.d.mts +7 -7
  14. package/resources/destinations.d.mts.map +1 -1
  15. package/resources/destinations.d.ts +7 -7
  16. package/resources/destinations.d.ts.map +1 -1
  17. package/resources/experiments.d.mts +13 -13
  18. package/resources/experiments.d.mts.map +1 -1
  19. package/resources/experiments.d.ts +13 -13
  20. package/resources/experiments.d.ts.map +1 -1
  21. package/resources/experiments.js +3 -3
  22. package/resources/experiments.mjs +3 -3
  23. package/resources/index.d.mts +2 -2
  24. package/resources/index.d.mts.map +1 -1
  25. package/resources/index.d.ts +2 -2
  26. package/resources/index.d.ts.map +1 -1
  27. package/resources/index.js.map +1 -1
  28. package/resources/index.mjs.map +1 -1
  29. package/resources/versions.d.mts +618 -1
  30. package/resources/versions.d.mts.map +1 -1
  31. package/resources/versions.d.ts +618 -1
  32. package/resources/versions.d.ts.map +1 -1
  33. package/resources/versions.js +33 -0
  34. package/resources/versions.js.map +1 -1
  35. package/resources/versions.mjs +33 -0
  36. package/resources/versions.mjs.map +1 -1
  37. package/resources/web-scanners.d.mts +267 -1
  38. package/resources/web-scanners.d.mts.map +1 -1
  39. package/resources/web-scanners.d.ts +267 -1
  40. package/resources/web-scanners.d.ts.map +1 -1
  41. package/resources/web-scanners.js +44 -0
  42. package/resources/web-scanners.js.map +1 -1
  43. package/resources/web-scanners.mjs +44 -0
  44. package/resources/web-scanners.mjs.map +1 -1
  45. package/src/client.ts +18 -0
  46. package/src/resources/consent-settings.ts +54 -0
  47. package/src/resources/destinations.ts +9 -2
  48. package/src/resources/experiments.ts +13 -13
  49. package/src/resources/index.ts +9 -0
  50. package/src/resources/versions.ts +748 -0
  51. package/src/resources/web-scanners.ts +431 -0
  52. package/src/version.ts +1 -1
  53. package/version.d.mts +1 -1
  54. package/version.d.ts +1 -1
  55. package/version.js +1 -1
  56. package/version.mjs +1 -1
@@ -106,6 +106,45 @@ export class Versions extends APIResource {
106
106
  ): APIPromise<VersionDiffResponse> {
107
107
  return this._client.get(path`/rest/v1/versions/${id}/diff`, { query, ...options });
108
108
  }
109
+
110
+ /**
111
+ * Revert one or more pending draft changes back to the latest published version
112
+ * (the "abandon a change" action). Send a body listing the entities to revert;
113
+ * each is handled independently — a modified entity is restored to its published
114
+ * values, a deleted entity is recreated, and a newly-added entity is discarded. An
115
+ * entity that already matches the published version is left untouched and is not
116
+ * counted (a no-op). An entity present in neither the draft nor the published
117
+ * version is reported in `notFoundCount`. `remainingChanges` is the total number
118
+ * of pending draft changes left after this call, which may stay above zero when
119
+ * other unreverted changes remain.
120
+ *
121
+ * The `experiments` and `experimentVariants` collections are not supported here —
122
+ * use the experiment lifecycle endpoints (`/start`, `/stop`) for those — but
123
+ * `experimentSettings` is supported. To discard every pending change at once, use
124
+ * `POST /rest/v1/versions/draft/abandon`. (`draft` is a literal path segment
125
+ * identifying the live draft as the target.) Requires scope: version:publish
126
+ */
127
+ revert(
128
+ id: 'draft',
129
+ body: VersionRevertParams,
130
+ options?: RequestOptions,
131
+ ): APIPromise<VersionRevertResponse> {
132
+ return this._client.post(path`/rest/v1/versions/${id}/revert`, { body, ...options });
133
+ }
134
+
135
+ /**
136
+ * Abandon ALL pending draft changes, resetting every supported entity collection
137
+ * back to the latest published version. Running experiments and experiment
138
+ * variants are not affected (ship those via the experiment lifecycle endpoints),
139
+ * but experiment settings are reset. Returns HTTP 409 when there is no published
140
+ * version to revert to, or when another publish or abandon is already in flight.
141
+ * To revert only specific changes, use `POST /rest/v1/versions/draft/revert`.
142
+ * (`draft` is a literal path segment identifying the live draft as the target.)
143
+ * Requires scope: version:publish
144
+ */
145
+ abandon(id: 'draft', options?: RequestOptions): APIPromise<VersionAbandonResponse> {
146
+ return this._client.post(path`/rest/v1/versions/${id}/abandon`, options);
147
+ }
109
148
  }
110
149
 
111
150
  export type VersionListResponsesCursor = Cursor<VersionListResponse>;
@@ -273,6 +312,8 @@ export namespace VersionDiffResponse {
273
312
 
274
313
  sources: Differences.Sources;
275
314
 
315
+ tagManagers: Differences.TagManagers;
316
+
276
317
  tagManagerTags: Differences.TagManagerTags;
277
318
 
278
319
  tagManagerTriggers: Differences.TagManagerTriggers;
@@ -320,6 +361,13 @@ export namespace VersionDiffResponse {
320
361
  * `tagManagerVariables`. `null` for every other collection.
321
362
  */
322
363
  tagManagerId?: string | null;
364
+
365
+ /**
366
+ * Entity subtype when the collection has one — for `sources` it matches the
367
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
368
+ * collections without a subtype.
369
+ */
370
+ type?: string | null;
323
371
  }
324
372
 
325
373
  export interface Modified {
@@ -354,6 +402,13 @@ export namespace VersionDiffResponse {
354
402
  * `tagManagerVariables`. `null` for every other collection.
355
403
  */
356
404
  tagManagerId?: string | null;
405
+
406
+ /**
407
+ * Entity subtype when the collection has one — for `sources` it matches the
408
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
409
+ * collections without a subtype.
410
+ */
411
+ type?: string | null;
357
412
  }
358
413
 
359
414
  export interface Old {
@@ -381,6 +436,13 @@ export namespace VersionDiffResponse {
381
436
  * `tagManagerVariables`. `null` for every other collection.
382
437
  */
383
438
  tagManagerId?: string | null;
439
+
440
+ /**
441
+ * Entity subtype when the collection has one — for `sources` it matches the
442
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
443
+ * collections without a subtype.
444
+ */
445
+ type?: string | null;
384
446
  }
385
447
  }
386
448
 
@@ -409,6 +471,13 @@ export namespace VersionDiffResponse {
409
471
  * `tagManagerVariables`. `null` for every other collection.
410
472
  */
411
473
  tagManagerId?: string | null;
474
+
475
+ /**
476
+ * Entity subtype when the collection has one — for `sources` it matches the
477
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
478
+ * collections without a subtype.
479
+ */
480
+ type?: string | null;
412
481
  }
413
482
  }
414
483
 
@@ -451,6 +520,13 @@ export namespace VersionDiffResponse {
451
520
  * `tagManagerVariables`. `null` for every other collection.
452
521
  */
453
522
  tagManagerId?: string | null;
523
+
524
+ /**
525
+ * Entity subtype when the collection has one — for `sources` it matches the
526
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
527
+ * collections without a subtype.
528
+ */
529
+ type?: string | null;
454
530
  }
455
531
 
456
532
  export interface Modified {
@@ -485,6 +561,13 @@ export namespace VersionDiffResponse {
485
561
  * `tagManagerVariables`. `null` for every other collection.
486
562
  */
487
563
  tagManagerId?: string | null;
564
+
565
+ /**
566
+ * Entity subtype when the collection has one — for `sources` it matches the
567
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
568
+ * collections without a subtype.
569
+ */
570
+ type?: string | null;
488
571
  }
489
572
 
490
573
  export interface Old {
@@ -512,6 +595,13 @@ export namespace VersionDiffResponse {
512
595
  * `tagManagerVariables`. `null` for every other collection.
513
596
  */
514
597
  tagManagerId?: string | null;
598
+
599
+ /**
600
+ * Entity subtype when the collection has one — for `sources` it matches the
601
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
602
+ * collections without a subtype.
603
+ */
604
+ type?: string | null;
515
605
  }
516
606
  }
517
607
 
@@ -540,6 +630,13 @@ export namespace VersionDiffResponse {
540
630
  * `tagManagerVariables`. `null` for every other collection.
541
631
  */
542
632
  tagManagerId?: string | null;
633
+
634
+ /**
635
+ * Entity subtype when the collection has one — for `sources` it matches the
636
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
637
+ * collections without a subtype.
638
+ */
639
+ type?: string | null;
543
640
  }
544
641
  }
545
642
 
@@ -582,6 +679,13 @@ export namespace VersionDiffResponse {
582
679
  * `tagManagerVariables`. `null` for every other collection.
583
680
  */
584
681
  tagManagerId?: string | null;
682
+
683
+ /**
684
+ * Entity subtype when the collection has one — for `sources` it matches the
685
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
686
+ * collections without a subtype.
687
+ */
688
+ type?: string | null;
585
689
  }
586
690
 
587
691
  export interface Modified {
@@ -616,6 +720,13 @@ export namespace VersionDiffResponse {
616
720
  * `tagManagerVariables`. `null` for every other collection.
617
721
  */
618
722
  tagManagerId?: string | null;
723
+
724
+ /**
725
+ * Entity subtype when the collection has one — for `sources` it matches the
726
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
727
+ * collections without a subtype.
728
+ */
729
+ type?: string | null;
619
730
  }
620
731
 
621
732
  export interface Old {
@@ -643,6 +754,13 @@ export namespace VersionDiffResponse {
643
754
  * `tagManagerVariables`. `null` for every other collection.
644
755
  */
645
756
  tagManagerId?: string | null;
757
+
758
+ /**
759
+ * Entity subtype when the collection has one — for `sources` it matches the
760
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
761
+ * collections without a subtype.
762
+ */
763
+ type?: string | null;
646
764
  }
647
765
  }
648
766
 
@@ -671,6 +789,13 @@ export namespace VersionDiffResponse {
671
789
  * `tagManagerVariables`. `null` for every other collection.
672
790
  */
673
791
  tagManagerId?: string | null;
792
+
793
+ /**
794
+ * Entity subtype when the collection has one — for `sources` it matches the
795
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
796
+ * collections without a subtype.
797
+ */
798
+ type?: string | null;
674
799
  }
675
800
  }
676
801
 
@@ -713,6 +838,13 @@ export namespace VersionDiffResponse {
713
838
  * `tagManagerVariables`. `null` for every other collection.
714
839
  */
715
840
  tagManagerId?: string | null;
841
+
842
+ /**
843
+ * Entity subtype when the collection has one — for `sources` it matches the
844
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
845
+ * collections without a subtype.
846
+ */
847
+ type?: string | null;
716
848
  }
717
849
 
718
850
  export interface Modified {
@@ -747,6 +879,13 @@ export namespace VersionDiffResponse {
747
879
  * `tagManagerVariables`. `null` for every other collection.
748
880
  */
749
881
  tagManagerId?: string | null;
882
+
883
+ /**
884
+ * Entity subtype when the collection has one — for `sources` it matches the
885
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
886
+ * collections without a subtype.
887
+ */
888
+ type?: string | null;
750
889
  }
751
890
 
752
891
  export interface Old {
@@ -774,6 +913,13 @@ export namespace VersionDiffResponse {
774
913
  * `tagManagerVariables`. `null` for every other collection.
775
914
  */
776
915
  tagManagerId?: string | null;
916
+
917
+ /**
918
+ * Entity subtype when the collection has one — for `sources` it matches the
919
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
920
+ * collections without a subtype.
921
+ */
922
+ type?: string | null;
777
923
  }
778
924
  }
779
925
 
@@ -802,6 +948,13 @@ export namespace VersionDiffResponse {
802
948
  * `tagManagerVariables`. `null` for every other collection.
803
949
  */
804
950
  tagManagerId?: string | null;
951
+
952
+ /**
953
+ * Entity subtype when the collection has one — for `sources` it matches the
954
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
955
+ * collections without a subtype.
956
+ */
957
+ type?: string | null;
805
958
  }
806
959
  }
807
960
 
@@ -844,6 +997,13 @@ export namespace VersionDiffResponse {
844
997
  * `tagManagerVariables`. `null` for every other collection.
845
998
  */
846
999
  tagManagerId?: string | null;
1000
+
1001
+ /**
1002
+ * Entity subtype when the collection has one — for `sources` it matches the
1003
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
1004
+ * collections without a subtype.
1005
+ */
1006
+ type?: string | null;
847
1007
  }
848
1008
 
849
1009
  export interface Modified {
@@ -878,6 +1038,13 @@ export namespace VersionDiffResponse {
878
1038
  * `tagManagerVariables`. `null` for every other collection.
879
1039
  */
880
1040
  tagManagerId?: string | null;
1041
+
1042
+ /**
1043
+ * Entity subtype when the collection has one — for `sources` it matches the
1044
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
1045
+ * collections without a subtype.
1046
+ */
1047
+ type?: string | null;
881
1048
  }
882
1049
 
883
1050
  export interface Old {
@@ -905,6 +1072,13 @@ export namespace VersionDiffResponse {
905
1072
  * `tagManagerVariables`. `null` for every other collection.
906
1073
  */
907
1074
  tagManagerId?: string | null;
1075
+
1076
+ /**
1077
+ * Entity subtype when the collection has one — for `sources` it matches the
1078
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
1079
+ * collections without a subtype.
1080
+ */
1081
+ type?: string | null;
908
1082
  }
909
1083
  }
910
1084
 
@@ -933,6 +1107,13 @@ export namespace VersionDiffResponse {
933
1107
  * `tagManagerVariables`. `null` for every other collection.
934
1108
  */
935
1109
  tagManagerId?: string | null;
1110
+
1111
+ /**
1112
+ * Entity subtype when the collection has one — for `sources` it matches the
1113
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
1114
+ * collections without a subtype.
1115
+ */
1116
+ type?: string | null;
936
1117
  }
937
1118
  }
938
1119
 
@@ -975,6 +1156,13 @@ export namespace VersionDiffResponse {
975
1156
  * `tagManagerVariables`. `null` for every other collection.
976
1157
  */
977
1158
  tagManagerId?: string | null;
1159
+
1160
+ /**
1161
+ * Entity subtype when the collection has one — for `sources` it matches the
1162
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
1163
+ * collections without a subtype.
1164
+ */
1165
+ type?: string | null;
978
1166
  }
979
1167
 
980
1168
  export interface Modified {
@@ -1009,6 +1197,13 @@ export namespace VersionDiffResponse {
1009
1197
  * `tagManagerVariables`. `null` for every other collection.
1010
1198
  */
1011
1199
  tagManagerId?: string | null;
1200
+
1201
+ /**
1202
+ * Entity subtype when the collection has one — for `sources` it matches the
1203
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
1204
+ * collections without a subtype.
1205
+ */
1206
+ type?: string | null;
1012
1207
  }
1013
1208
 
1014
1209
  export interface Old {
@@ -1036,6 +1231,13 @@ export namespace VersionDiffResponse {
1036
1231
  * `tagManagerVariables`. `null` for every other collection.
1037
1232
  */
1038
1233
  tagManagerId?: string | null;
1234
+
1235
+ /**
1236
+ * Entity subtype when the collection has one — for `sources` it matches the
1237
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
1238
+ * collections without a subtype.
1239
+ */
1240
+ type?: string | null;
1039
1241
  }
1040
1242
  }
1041
1243
 
@@ -1064,6 +1266,13 @@ export namespace VersionDiffResponse {
1064
1266
  * `tagManagerVariables`. `null` for every other collection.
1065
1267
  */
1066
1268
  tagManagerId?: string | null;
1269
+
1270
+ /**
1271
+ * Entity subtype when the collection has one — for `sources` it matches the
1272
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
1273
+ * collections without a subtype.
1274
+ */
1275
+ type?: string | null;
1067
1276
  }
1068
1277
  }
1069
1278
 
@@ -1106,6 +1315,13 @@ export namespace VersionDiffResponse {
1106
1315
  * `tagManagerVariables`. `null` for every other collection.
1107
1316
  */
1108
1317
  tagManagerId?: string | null;
1318
+
1319
+ /**
1320
+ * Entity subtype when the collection has one — for `sources` it matches the
1321
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
1322
+ * collections without a subtype.
1323
+ */
1324
+ type?: string | null;
1109
1325
  }
1110
1326
 
1111
1327
  export interface Modified {
@@ -1140,6 +1356,13 @@ export namespace VersionDiffResponse {
1140
1356
  * `tagManagerVariables`. `null` for every other collection.
1141
1357
  */
1142
1358
  tagManagerId?: string | null;
1359
+
1360
+ /**
1361
+ * Entity subtype when the collection has one — for `sources` it matches the
1362
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
1363
+ * collections without a subtype.
1364
+ */
1365
+ type?: string | null;
1143
1366
  }
1144
1367
 
1145
1368
  export interface Old {
@@ -1167,6 +1390,13 @@ export namespace VersionDiffResponse {
1167
1390
  * `tagManagerVariables`. `null` for every other collection.
1168
1391
  */
1169
1392
  tagManagerId?: string | null;
1393
+
1394
+ /**
1395
+ * Entity subtype when the collection has one — for `sources` it matches the
1396
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
1397
+ * collections without a subtype.
1398
+ */
1399
+ type?: string | null;
1170
1400
  }
1171
1401
  }
1172
1402
 
@@ -1195,6 +1425,13 @@ export namespace VersionDiffResponse {
1195
1425
  * `tagManagerVariables`. `null` for every other collection.
1196
1426
  */
1197
1427
  tagManagerId?: string | null;
1428
+
1429
+ /**
1430
+ * Entity subtype when the collection has one — for `sources` it matches the
1431
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
1432
+ * collections without a subtype.
1433
+ */
1434
+ type?: string | null;
1198
1435
  }
1199
1436
  }
1200
1437
 
@@ -1237,6 +1474,13 @@ export namespace VersionDiffResponse {
1237
1474
  * `tagManagerVariables`. `null` for every other collection.
1238
1475
  */
1239
1476
  tagManagerId?: string | null;
1477
+
1478
+ /**
1479
+ * Entity subtype when the collection has one — for `sources` it matches the
1480
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
1481
+ * collections without a subtype.
1482
+ */
1483
+ type?: string | null;
1240
1484
  }
1241
1485
 
1242
1486
  export interface Modified {
@@ -1271,6 +1515,13 @@ export namespace VersionDiffResponse {
1271
1515
  * `tagManagerVariables`. `null` for every other collection.
1272
1516
  */
1273
1517
  tagManagerId?: string | null;
1518
+
1519
+ /**
1520
+ * Entity subtype when the collection has one — for `sources` it matches the
1521
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
1522
+ * collections without a subtype.
1523
+ */
1524
+ type?: string | null;
1274
1525
  }
1275
1526
 
1276
1527
  export interface Old {
@@ -1298,6 +1549,13 @@ export namespace VersionDiffResponse {
1298
1549
  * `tagManagerVariables`. `null` for every other collection.
1299
1550
  */
1300
1551
  tagManagerId?: string | null;
1552
+
1553
+ /**
1554
+ * Entity subtype when the collection has one — for `sources` it matches the
1555
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
1556
+ * collections without a subtype.
1557
+ */
1558
+ type?: string | null;
1301
1559
  }
1302
1560
  }
1303
1561
 
@@ -1326,6 +1584,13 @@ export namespace VersionDiffResponse {
1326
1584
  * `tagManagerVariables`. `null` for every other collection.
1327
1585
  */
1328
1586
  tagManagerId?: string | null;
1587
+
1588
+ /**
1589
+ * Entity subtype when the collection has one — for `sources` it matches the
1590
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
1591
+ * collections without a subtype.
1592
+ */
1593
+ type?: string | null;
1329
1594
  }
1330
1595
  }
1331
1596
 
@@ -1368,6 +1633,13 @@ export namespace VersionDiffResponse {
1368
1633
  * `tagManagerVariables`. `null` for every other collection.
1369
1634
  */
1370
1635
  tagManagerId?: string | null;
1636
+
1637
+ /**
1638
+ * Entity subtype when the collection has one — for `sources` it matches the
1639
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
1640
+ * collections without a subtype.
1641
+ */
1642
+ type?: string | null;
1371
1643
  }
1372
1644
 
1373
1645
  export interface Modified {
@@ -1402,6 +1674,13 @@ export namespace VersionDiffResponse {
1402
1674
  * `tagManagerVariables`. `null` for every other collection.
1403
1675
  */
1404
1676
  tagManagerId?: string | null;
1677
+
1678
+ /**
1679
+ * Entity subtype when the collection has one — for `sources` it matches the
1680
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
1681
+ * collections without a subtype.
1682
+ */
1683
+ type?: string | null;
1405
1684
  }
1406
1685
 
1407
1686
  export interface Old {
@@ -1429,6 +1708,13 @@ export namespace VersionDiffResponse {
1429
1708
  * `tagManagerVariables`. `null` for every other collection.
1430
1709
  */
1431
1710
  tagManagerId?: string | null;
1711
+
1712
+ /**
1713
+ * Entity subtype when the collection has one — for `sources` it matches the
1714
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
1715
+ * collections without a subtype.
1716
+ */
1717
+ type?: string | null;
1432
1718
  }
1433
1719
  }
1434
1720
 
@@ -1457,6 +1743,13 @@ export namespace VersionDiffResponse {
1457
1743
  * `tagManagerVariables`. `null` for every other collection.
1458
1744
  */
1459
1745
  tagManagerId?: string | null;
1746
+
1747
+ /**
1748
+ * Entity subtype when the collection has one — for `sources` it matches the
1749
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
1750
+ * collections without a subtype.
1751
+ */
1752
+ type?: string | null;
1460
1753
  }
1461
1754
  }
1462
1755
 
@@ -1499,6 +1792,13 @@ export namespace VersionDiffResponse {
1499
1792
  * `tagManagerVariables`. `null` for every other collection.
1500
1793
  */
1501
1794
  tagManagerId?: string | null;
1795
+
1796
+ /**
1797
+ * Entity subtype when the collection has one — for `sources` it matches the
1798
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
1799
+ * collections without a subtype.
1800
+ */
1801
+ type?: string | null;
1502
1802
  }
1503
1803
 
1504
1804
  export interface Modified {
@@ -1533,6 +1833,13 @@ export namespace VersionDiffResponse {
1533
1833
  * `tagManagerVariables`. `null` for every other collection.
1534
1834
  */
1535
1835
  tagManagerId?: string | null;
1836
+
1837
+ /**
1838
+ * Entity subtype when the collection has one — for `sources` it matches the
1839
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
1840
+ * collections without a subtype.
1841
+ */
1842
+ type?: string | null;
1536
1843
  }
1537
1844
 
1538
1845
  export interface Old {
@@ -1560,6 +1867,13 @@ export namespace VersionDiffResponse {
1560
1867
  * `tagManagerVariables`. `null` for every other collection.
1561
1868
  */
1562
1869
  tagManagerId?: string | null;
1870
+
1871
+ /**
1872
+ * Entity subtype when the collection has one — for `sources` it matches the
1873
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
1874
+ * collections without a subtype.
1875
+ */
1876
+ type?: string | null;
1563
1877
  }
1564
1878
  }
1565
1879
 
@@ -1588,6 +1902,13 @@ export namespace VersionDiffResponse {
1588
1902
  * `tagManagerVariables`. `null` for every other collection.
1589
1903
  */
1590
1904
  tagManagerId?: string | null;
1905
+
1906
+ /**
1907
+ * Entity subtype when the collection has one — for `sources` it matches the
1908
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
1909
+ * collections without a subtype.
1910
+ */
1911
+ type?: string | null;
1591
1912
  }
1592
1913
  }
1593
1914
 
@@ -1630,6 +1951,13 @@ export namespace VersionDiffResponse {
1630
1951
  * `tagManagerVariables`. `null` for every other collection.
1631
1952
  */
1632
1953
  tagManagerId?: string | null;
1954
+
1955
+ /**
1956
+ * Entity subtype when the collection has one — for `sources` it matches the
1957
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
1958
+ * collections without a subtype.
1959
+ */
1960
+ type?: string | null;
1633
1961
  }
1634
1962
 
1635
1963
  export interface Modified {
@@ -1664,6 +1992,13 @@ export namespace VersionDiffResponse {
1664
1992
  * `tagManagerVariables`. `null` for every other collection.
1665
1993
  */
1666
1994
  tagManagerId?: string | null;
1995
+
1996
+ /**
1997
+ * Entity subtype when the collection has one — for `sources` it matches the
1998
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
1999
+ * collections without a subtype.
2000
+ */
2001
+ type?: string | null;
1667
2002
  }
1668
2003
 
1669
2004
  export interface Old {
@@ -1691,6 +2026,13 @@ export namespace VersionDiffResponse {
1691
2026
  * `tagManagerVariables`. `null` for every other collection.
1692
2027
  */
1693
2028
  tagManagerId?: string | null;
2029
+
2030
+ /**
2031
+ * Entity subtype when the collection has one — for `sources` it matches the
2032
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
2033
+ * collections without a subtype.
2034
+ */
2035
+ type?: string | null;
1694
2036
  }
1695
2037
  }
1696
2038
 
@@ -1719,6 +2061,13 @@ export namespace VersionDiffResponse {
1719
2061
  * `tagManagerVariables`. `null` for every other collection.
1720
2062
  */
1721
2063
  tagManagerId?: string | null;
2064
+
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;
1722
2071
  }
1723
2072
  }
1724
2073
 
@@ -1761,6 +2110,13 @@ export namespace VersionDiffResponse {
1761
2110
  * `tagManagerVariables`. `null` for every other collection.
1762
2111
  */
1763
2112
  tagManagerId?: string | null;
2113
+
2114
+ /**
2115
+ * Entity subtype when the collection has one — for `sources` it matches the
2116
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
2117
+ * collections without a subtype.
2118
+ */
2119
+ type?: string | null;
1764
2120
  }
1765
2121
 
1766
2122
  export interface Modified {
@@ -1795,6 +2151,13 @@ export namespace VersionDiffResponse {
1795
2151
  * `tagManagerVariables`. `null` for every other collection.
1796
2152
  */
1797
2153
  tagManagerId?: string | null;
2154
+
2155
+ /**
2156
+ * Entity subtype when the collection has one — for `sources` it matches the
2157
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
2158
+ * collections without a subtype.
2159
+ */
2160
+ type?: string | null;
1798
2161
  }
1799
2162
 
1800
2163
  export interface Old {
@@ -1822,6 +2185,13 @@ export namespace VersionDiffResponse {
1822
2185
  * `tagManagerVariables`. `null` for every other collection.
1823
2186
  */
1824
2187
  tagManagerId?: string | null;
2188
+
2189
+ /**
2190
+ * Entity subtype when the collection has one — for `sources` it matches the
2191
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
2192
+ * collections without a subtype.
2193
+ */
2194
+ type?: string | null;
1825
2195
  }
1826
2196
  }
1827
2197
 
@@ -1850,6 +2220,13 @@ export namespace VersionDiffResponse {
1850
2220
  * `tagManagerVariables`. `null` for every other collection.
1851
2221
  */
1852
2222
  tagManagerId?: string | null;
2223
+
2224
+ /**
2225
+ * Entity subtype when the collection has one — for `sources` it matches the
2226
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
2227
+ * collections without a subtype.
2228
+ */
2229
+ type?: string | null;
1853
2230
  }
1854
2231
  }
1855
2232
 
@@ -1892,6 +2269,13 @@ export namespace VersionDiffResponse {
1892
2269
  * `tagManagerVariables`. `null` for every other collection.
1893
2270
  */
1894
2271
  tagManagerId?: string | null;
2272
+
2273
+ /**
2274
+ * Entity subtype when the collection has one — for `sources` it matches the
2275
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
2276
+ * collections without a subtype.
2277
+ */
2278
+ type?: string | null;
1895
2279
  }
1896
2280
 
1897
2281
  export interface Modified {
@@ -1926,6 +2310,13 @@ export namespace VersionDiffResponse {
1926
2310
  * `tagManagerVariables`. `null` for every other collection.
1927
2311
  */
1928
2312
  tagManagerId?: string | null;
2313
+
2314
+ /**
2315
+ * Entity subtype when the collection has one — for `sources` it matches the
2316
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
2317
+ * collections without a subtype.
2318
+ */
2319
+ type?: string | null;
1929
2320
  }
1930
2321
 
1931
2322
  export interface Old {
@@ -1953,6 +2344,13 @@ export namespace VersionDiffResponse {
1953
2344
  * `tagManagerVariables`. `null` for every other collection.
1954
2345
  */
1955
2346
  tagManagerId?: string | null;
2347
+
2348
+ /**
2349
+ * Entity subtype when the collection has one — for `sources` it matches the
2350
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
2351
+ * collections without a subtype.
2352
+ */
2353
+ type?: string | null;
1956
2354
  }
1957
2355
  }
1958
2356
 
@@ -1981,6 +2379,172 @@ export namespace VersionDiffResponse {
1981
2379
  * `tagManagerVariables`. `null` for every other collection.
1982
2380
  */
1983
2381
  tagManagerId?: string | null;
2382
+
2383
+ /**
2384
+ * Entity subtype when the collection has one — for `sources` it matches the
2385
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
2386
+ * collections without a subtype.
2387
+ */
2388
+ type?: string | null;
2389
+ }
2390
+ }
2391
+
2392
+ export interface TagManagers {
2393
+ added: Array<TagManagers.Added>;
2394
+
2395
+ /**
2396
+ * Entities present in both snapshots but with at least one field changed. `old` is
2397
+ * the snapshot of the entity in the baseline (latest published); `new` is the
2398
+ * snapshot in the comparison target (the draft).
2399
+ */
2400
+ modified: Array<TagManagers.Modified>;
2401
+
2402
+ removed: Array<TagManagers.Removed>;
2403
+ }
2404
+
2405
+ export namespace TagManagers {
2406
+ export interface Added {
2407
+ id: string;
2408
+
2409
+ /**
2410
+ * Human-readable label for the entity at the snapshot it was captured in. For most
2411
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
2412
+ * computed summary of the event's key fields. Two `modified` items can therefore
2413
+ * have identical `old.name` and `new.name` even though their underlying records
2414
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
2415
+ * fetch full detail.
2416
+ */
2417
+ name?: string | null;
2418
+
2419
+ /**
2420
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
2421
+ * modifications when the only change is priority reordering — this lets clients
2422
+ * de-emphasize them in change-review UI. `null` for every other diff item.
2423
+ */
2424
+ summary?: string | null;
2425
+
2426
+ /**
2427
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
2428
+ * `tagManagerVariables`. `null` for every other collection.
2429
+ */
2430
+ tagManagerId?: string | null;
2431
+
2432
+ /**
2433
+ * Entity subtype when the collection has one — for `sources` it matches the
2434
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
2435
+ * collections without a subtype.
2436
+ */
2437
+ type?: string | null;
2438
+ }
2439
+
2440
+ export interface Modified {
2441
+ new: Modified.New;
2442
+
2443
+ old: Modified.Old;
2444
+ }
2445
+
2446
+ export namespace Modified {
2447
+ export interface New {
2448
+ id: string;
2449
+
2450
+ /**
2451
+ * Human-readable label for the entity at the snapshot it was captured in. For most
2452
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
2453
+ * computed summary of the event's key fields. Two `modified` items can therefore
2454
+ * have identical `old.name` and `new.name` even though their underlying records
2455
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
2456
+ * fetch full detail.
2457
+ */
2458
+ name?: string | null;
2459
+
2460
+ /**
2461
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
2462
+ * modifications when the only change is priority reordering — this lets clients
2463
+ * de-emphasize them in change-review UI. `null` for every other diff item.
2464
+ */
2465
+ summary?: string | null;
2466
+
2467
+ /**
2468
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
2469
+ * `tagManagerVariables`. `null` for every other collection.
2470
+ */
2471
+ tagManagerId?: string | null;
2472
+
2473
+ /**
2474
+ * Entity subtype when the collection has one — for `sources` it matches the
2475
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
2476
+ * collections without a subtype.
2477
+ */
2478
+ type?: string | null;
2479
+ }
2480
+
2481
+ export interface Old {
2482
+ id: string;
2483
+
2484
+ /**
2485
+ * Human-readable label for the entity at the snapshot it was captured in. For most
2486
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
2487
+ * computed summary of the event's key fields. Two `modified` items can therefore
2488
+ * have identical `old.name` and `new.name` even though their underlying records
2489
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
2490
+ * fetch full detail.
2491
+ */
2492
+ name?: string | null;
2493
+
2494
+ /**
2495
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
2496
+ * modifications when the only change is priority reordering — this lets clients
2497
+ * de-emphasize them in change-review UI. `null` for every other diff item.
2498
+ */
2499
+ summary?: string | null;
2500
+
2501
+ /**
2502
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
2503
+ * `tagManagerVariables`. `null` for every other collection.
2504
+ */
2505
+ tagManagerId?: string | null;
2506
+
2507
+ /**
2508
+ * Entity subtype when the collection has one — for `sources` it matches the
2509
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
2510
+ * collections without a subtype.
2511
+ */
2512
+ type?: string | null;
2513
+ }
2514
+ }
2515
+
2516
+ export interface Removed {
2517
+ id: string;
2518
+
2519
+ /**
2520
+ * Human-readable label for the entity at the snapshot it was captured in. For most
2521
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
2522
+ * computed summary of the event's key fields. Two `modified` items can therefore
2523
+ * have identical `old.name` and `new.name` even though their underlying records
2524
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
2525
+ * fetch full detail.
2526
+ */
2527
+ name?: string | null;
2528
+
2529
+ /**
2530
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
2531
+ * modifications when the only change is priority reordering — this lets clients
2532
+ * de-emphasize them in change-review UI. `null` for every other diff item.
2533
+ */
2534
+ summary?: string | null;
2535
+
2536
+ /**
2537
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
2538
+ * `tagManagerVariables`. `null` for every other collection.
2539
+ */
2540
+ tagManagerId?: string | null;
2541
+
2542
+ /**
2543
+ * Entity subtype when the collection has one — for `sources` it matches the
2544
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
2545
+ * collections without a subtype.
2546
+ */
2547
+ type?: string | null;
1984
2548
  }
1985
2549
  }
1986
2550
 
@@ -2023,6 +2587,13 @@ export namespace VersionDiffResponse {
2023
2587
  * `tagManagerVariables`. `null` for every other collection.
2024
2588
  */
2025
2589
  tagManagerId?: string | null;
2590
+
2591
+ /**
2592
+ * Entity subtype when the collection has one — for `sources` it matches the
2593
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
2594
+ * collections without a subtype.
2595
+ */
2596
+ type?: string | null;
2026
2597
  }
2027
2598
 
2028
2599
  export interface Modified {
@@ -2057,6 +2628,13 @@ export namespace VersionDiffResponse {
2057
2628
  * `tagManagerVariables`. `null` for every other collection.
2058
2629
  */
2059
2630
  tagManagerId?: string | null;
2631
+
2632
+ /**
2633
+ * Entity subtype when the collection has one — for `sources` it matches the
2634
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
2635
+ * collections without a subtype.
2636
+ */
2637
+ type?: string | null;
2060
2638
  }
2061
2639
 
2062
2640
  export interface Old {
@@ -2084,6 +2662,13 @@ export namespace VersionDiffResponse {
2084
2662
  * `tagManagerVariables`. `null` for every other collection.
2085
2663
  */
2086
2664
  tagManagerId?: string | null;
2665
+
2666
+ /**
2667
+ * Entity subtype when the collection has one — for `sources` it matches the
2668
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
2669
+ * collections without a subtype.
2670
+ */
2671
+ type?: string | null;
2087
2672
  }
2088
2673
  }
2089
2674
 
@@ -2112,6 +2697,13 @@ export namespace VersionDiffResponse {
2112
2697
  * `tagManagerVariables`. `null` for every other collection.
2113
2698
  */
2114
2699
  tagManagerId?: string | null;
2700
+
2701
+ /**
2702
+ * Entity subtype when the collection has one — for `sources` it matches the
2703
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
2704
+ * collections without a subtype.
2705
+ */
2706
+ type?: string | null;
2115
2707
  }
2116
2708
  }
2117
2709
 
@@ -2154,6 +2746,13 @@ export namespace VersionDiffResponse {
2154
2746
  * `tagManagerVariables`. `null` for every other collection.
2155
2747
  */
2156
2748
  tagManagerId?: string | null;
2749
+
2750
+ /**
2751
+ * Entity subtype when the collection has one — for `sources` it matches the
2752
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
2753
+ * collections without a subtype.
2754
+ */
2755
+ type?: string | null;
2157
2756
  }
2158
2757
 
2159
2758
  export interface Modified {
@@ -2188,6 +2787,13 @@ export namespace VersionDiffResponse {
2188
2787
  * `tagManagerVariables`. `null` for every other collection.
2189
2788
  */
2190
2789
  tagManagerId?: string | null;
2790
+
2791
+ /**
2792
+ * Entity subtype when the collection has one — for `sources` it matches the
2793
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
2794
+ * collections without a subtype.
2795
+ */
2796
+ type?: string | null;
2191
2797
  }
2192
2798
 
2193
2799
  export interface Old {
@@ -2215,6 +2821,13 @@ export namespace VersionDiffResponse {
2215
2821
  * `tagManagerVariables`. `null` for every other collection.
2216
2822
  */
2217
2823
  tagManagerId?: string | null;
2824
+
2825
+ /**
2826
+ * Entity subtype when the collection has one — for `sources` it matches the
2827
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
2828
+ * collections without a subtype.
2829
+ */
2830
+ type?: string | null;
2218
2831
  }
2219
2832
  }
2220
2833
 
@@ -2243,6 +2856,13 @@ export namespace VersionDiffResponse {
2243
2856
  * `tagManagerVariables`. `null` for every other collection.
2244
2857
  */
2245
2858
  tagManagerId?: string | null;
2859
+
2860
+ /**
2861
+ * Entity subtype when the collection has one — for `sources` it matches the
2862
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
2863
+ * collections without a subtype.
2864
+ */
2865
+ type?: string | null;
2246
2866
  }
2247
2867
  }
2248
2868
 
@@ -2285,6 +2905,13 @@ export namespace VersionDiffResponse {
2285
2905
  * `tagManagerVariables`. `null` for every other collection.
2286
2906
  */
2287
2907
  tagManagerId?: string | null;
2908
+
2909
+ /**
2910
+ * Entity subtype when the collection has one — for `sources` it matches the
2911
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
2912
+ * collections without a subtype.
2913
+ */
2914
+ type?: string | null;
2288
2915
  }
2289
2916
 
2290
2917
  export interface Modified {
@@ -2319,6 +2946,13 @@ export namespace VersionDiffResponse {
2319
2946
  * `tagManagerVariables`. `null` for every other collection.
2320
2947
  */
2321
2948
  tagManagerId?: string | null;
2949
+
2950
+ /**
2951
+ * Entity subtype when the collection has one — for `sources` it matches the
2952
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
2953
+ * collections without a subtype.
2954
+ */
2955
+ type?: string | null;
2322
2956
  }
2323
2957
 
2324
2958
  export interface Old {
@@ -2346,6 +2980,13 @@ export namespace VersionDiffResponse {
2346
2980
  * `tagManagerVariables`. `null` for every other collection.
2347
2981
  */
2348
2982
  tagManagerId?: string | null;
2983
+
2984
+ /**
2985
+ * Entity subtype when the collection has one — for `sources` it matches the
2986
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
2987
+ * collections without a subtype.
2988
+ */
2989
+ type?: string | null;
2349
2990
  }
2350
2991
  }
2351
2992
 
@@ -2374,11 +3015,74 @@ export namespace VersionDiffResponse {
2374
3015
  * `tagManagerVariables`. `null` for every other collection.
2375
3016
  */
2376
3017
  tagManagerId?: string | null;
3018
+
3019
+ /**
3020
+ * Entity subtype when the collection has one — for `sources` it matches the
3021
+ * source's `type` field, letting clients distinguish kinds of source. `null` for
3022
+ * collections without a subtype.
3023
+ */
3024
+ type?: string | null;
2377
3025
  }
2378
3026
  }
2379
3027
  }
2380
3028
  }
2381
3029
 
3030
+ export interface VersionRevertResponse {
3031
+ /**
3032
+ * Newly-added draft entities that were deleted.
3033
+ */
3034
+ discardedCount: number;
3035
+
3036
+ /**
3037
+ * Requested entities present in neither the draft nor the latest published
3038
+ * version.
3039
+ */
3040
+ notFoundCount: number;
3041
+
3042
+ /**
3043
+ * Total pending draft changes remaining after this operation.
3044
+ */
3045
+ remainingChanges: number;
3046
+
3047
+ /**
3048
+ * Entities recreated because they had been deleted from the draft.
3049
+ */
3050
+ restoredCount: number;
3051
+
3052
+ /**
3053
+ * Entities overwritten back to their published values.
3054
+ */
3055
+ revertedCount: number;
3056
+ }
3057
+
3058
+ export interface VersionAbandonResponse {
3059
+ /**
3060
+ * Newly-added draft entities that were deleted.
3061
+ */
3062
+ discardedCount: number;
3063
+
3064
+ /**
3065
+ * Requested entities present in neither the draft nor the latest published
3066
+ * version.
3067
+ */
3068
+ notFoundCount: number;
3069
+
3070
+ /**
3071
+ * Total pending draft changes remaining after this operation.
3072
+ */
3073
+ remainingChanges: number;
3074
+
3075
+ /**
3076
+ * Entities recreated because they had been deleted from the draft.
3077
+ */
3078
+ restoredCount: number;
3079
+
3080
+ /**
3081
+ * Entities overwritten back to their published values.
3082
+ */
3083
+ revertedCount: number;
3084
+ }
3085
+
2382
3086
  export interface VersionListParams extends CursorParams {
2383
3087
  /**
2384
3088
  * Filter to only published or unpublished versions.
@@ -2512,6 +3216,47 @@ export interface VersionDiffParams {
2512
3216
  against?: string;
2513
3217
  }
2514
3218
 
3219
+ export interface VersionRevertParams {
3220
+ /**
3221
+ * Draft entities to revert back to the latest published version. Each entry is
3222
+ * processed independently: a modified entity is restored to its published values,
3223
+ * a deleted entity is recreated, and a newly-added entity is discarded. Pass a
3224
+ * single entry to revert one change.
3225
+ */
3226
+ entities: Array<VersionRevertParams.Entity>;
3227
+ }
3228
+
3229
+ export namespace VersionRevertParams {
3230
+ export interface Entity {
3231
+ /**
3232
+ * Id of the draft entity to revert.
3233
+ */
3234
+ id: string;
3235
+
3236
+ /**
3237
+ * Entity collection the id belongs to. `experiments` and `experimentVariants` are
3238
+ * not supported — use the experiment lifecycle endpoints for those — but
3239
+ * `experimentSettings` is.
3240
+ */
3241
+ collection:
3242
+ | 'allowedEvents'
3243
+ | 'consentSettings'
3244
+ | 'dataGovernanceEvents'
3245
+ | 'dataGovernanceRules'
3246
+ | 'destinations'
3247
+ | 'experimentSettings'
3248
+ | 'externalAllowedEventData'
3249
+ | 'globalDispatchCenters'
3250
+ | 'mappings'
3251
+ | 'replaySettings'
3252
+ | 'sources'
3253
+ | 'tagManagerTags'
3254
+ | 'tagManagerTriggers'
3255
+ | 'tagManagerVariables'
3256
+ | 'tagManagers';
3257
+ }
3258
+ }
3259
+
2515
3260
  export declare namespace Versions {
2516
3261
  export {
2517
3262
  type VersionListResponse as VersionListResponse,
@@ -2521,10 +3266,13 @@ export declare namespace Versions {
2521
3266
  type VersionPublishResponse as VersionPublishResponse,
2522
3267
  type VersionSnapshotResponse as VersionSnapshotResponse,
2523
3268
  type VersionDiffResponse as VersionDiffResponse,
3269
+ type VersionRevertResponse as VersionRevertResponse,
3270
+ type VersionAbandonResponse as VersionAbandonResponse,
2524
3271
  type VersionListResponsesCursor as VersionListResponsesCursor,
2525
3272
  type VersionListParams as VersionListParams,
2526
3273
  type VersionCreateParams as VersionCreateParams,
2527
3274
  type VersionUpdateParams as VersionUpdateParams,
2528
3275
  type VersionDiffParams as VersionDiffParams,
3276
+ type VersionRevertParams as VersionRevertParams,
2529
3277
  };
2530
3278
  }