@oursprivacy/platform-sdk 1.13.0 → 1.15.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 (49) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +12 -8
  3. package/client.d.mts +6 -6
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +6 -6
  6. package/client.d.ts.map +1 -1
  7. package/client.js.map +1 -1
  8. package/client.mjs.map +1 -1
  9. package/package.json +1 -1
  10. package/resources/experiment-variants.d.mts +73 -79
  11. package/resources/experiment-variants.d.mts.map +1 -1
  12. package/resources/experiment-variants.d.ts +73 -79
  13. package/resources/experiment-variants.d.ts.map +1 -1
  14. package/resources/experiment-variants.js +14 -7
  15. package/resources/experiment-variants.js.map +1 -1
  16. package/resources/experiment-variants.mjs +14 -7
  17. package/resources/experiment-variants.mjs.map +1 -1
  18. package/resources/index.d.mts +3 -3
  19. package/resources/index.d.mts.map +1 -1
  20. package/resources/index.d.ts +3 -3
  21. package/resources/index.d.ts.map +1 -1
  22. package/resources/index.js.map +1 -1
  23. package/resources/index.mjs.map +1 -1
  24. package/resources/mappings.d.mts +69 -30
  25. package/resources/mappings.d.mts.map +1 -1
  26. package/resources/mappings.d.ts +69 -30
  27. package/resources/mappings.d.ts.map +1 -1
  28. package/resources/mappings.js +6 -2
  29. package/resources/mappings.js.map +1 -1
  30. package/resources/mappings.mjs +6 -2
  31. package/resources/mappings.mjs.map +1 -1
  32. package/resources/versions.d.mts +1260 -8
  33. package/resources/versions.d.mts.map +1 -1
  34. package/resources/versions.d.ts +1260 -8
  35. package/resources/versions.d.ts.map +1 -1
  36. package/resources/versions.js +15 -8
  37. package/resources/versions.js.map +1 -1
  38. package/resources/versions.mjs +15 -8
  39. package/resources/versions.mjs.map +1 -1
  40. package/src/client.ts +6 -0
  41. package/src/resources/experiment-variants.ts +94 -96
  42. package/src/resources/index.ts +3 -0
  43. package/src/resources/mappings.ts +262 -31
  44. package/src/resources/versions.ts +1272 -8
  45. package/src/version.ts +1 -1
  46. package/version.d.mts +1 -1
  47. package/version.d.ts +1 -1
  48. package/version.js +1 -1
  49. package/version.mjs +1 -1
@@ -69,15 +69,26 @@ export class Versions extends APIResource {
69
69
  }
70
70
 
71
71
  /**
72
- * Compare the current draft (all unpublished entity changes) against the latest
73
- * published version. Returns added/removed/modified entities grouped by
74
- * collection, plus a total `count`. Use this to preview what would be included in
75
- * a `POST /rest/v1/versions` call. The path segment `draft` is a literal — there
76
- * is no version with that ID; it identifies the comparison target. Requires scope:
77
- * version:find
72
+ * Compare two versions of the account configuration. Returns
73
+ * added/removed/modified entities grouped by collection, plus a total `count`.
74
+ *
75
+ * - `GET /rest/v1/versions/draft/diff` — compare the current draft (all
76
+ * unpublished entity changes) against the latest published version. Use this to
77
+ * preview what would be included in a `POST /rest/v1/versions` call. (`draft` is
78
+ * a literal path segment — there is no version with that ID; it identifies the
79
+ * comparison target.)
80
+ * - `GET /rest/v1/versions/{id}/diff` — compare that specific version against the
81
+ * latest published version.
82
+ * - `GET /rest/v1/versions/{id}/diff?against={otherId}` — compare two specific
83
+ * versions. `otherId` may also be `draft` to diff a published snapshot against
84
+ * the live draft state. Requires scope: version:find
78
85
  */
79
- diff(id: 'draft', options?: RequestOptions): APIPromise<VersionDiffResponse> {
80
- return this._client.get(path`/rest/v1/versions/${id}/diff`, options);
86
+ diff(
87
+ id: 'draft' | (string & {}),
88
+ query: VersionDiffParams | null | undefined = {},
89
+ options?: RequestOptions,
90
+ ): APIPromise<VersionDiffResponse> {
91
+ return this._client.get(path`/rest/v1/versions/${id}/diff`, { query, ...options });
81
92
  }
82
93
  }
83
94
 
@@ -94,6 +105,8 @@ export interface VersionListResponse {
94
105
 
95
106
  name?: string | null;
96
107
 
108
+ notes?: string | null;
109
+
97
110
  /**
98
111
  * When this version was most recently published. NOT cleared when a newer version
99
112
  * is published — `publishedAt` reflects the most recent successful publish of this
@@ -255,6 +268,11 @@ export namespace VersionDiffResponse {
255
268
  export interface AllowedEvents {
256
269
  added: Array<AllowedEvents.Added>;
257
270
 
271
+ /**
272
+ * Entities present in both snapshots but with at least one field changed. `old` is
273
+ * the snapshot of the entity in the baseline (latest published); `new` is the
274
+ * snapshot in the comparison target (the draft).
275
+ */
258
276
  modified: Array<AllowedEvents.Modified>;
259
277
 
260
278
  removed: Array<AllowedEvents.Removed>;
@@ -264,10 +282,27 @@ export namespace VersionDiffResponse {
264
282
  export interface Added {
265
283
  id: string;
266
284
 
285
+ /**
286
+ * Human-readable label for the entity at the snapshot it was captured in. For most
287
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
288
+ * computed summary of the event's key fields. Two `modified` items can therefore
289
+ * have identical `old.name` and `new.name` even though their underlying records
290
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
291
+ * fetch full detail.
292
+ */
267
293
  name?: string | null;
268
294
 
295
+ /**
296
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
297
+ * modifications when the only change is priority reordering — this lets clients
298
+ * de-emphasize them in change-review UI. `null` for every other diff item.
299
+ */
269
300
  summary?: string | null;
270
301
 
302
+ /**
303
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
304
+ * `tagManagerVariables`. `null` for every other collection.
305
+ */
271
306
  tagManagerId?: string | null;
272
307
  }
273
308
 
@@ -281,20 +316,54 @@ export namespace VersionDiffResponse {
281
316
  export interface New {
282
317
  id: string;
283
318
 
319
+ /**
320
+ * Human-readable label for the entity at the snapshot it was captured in. For most
321
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
322
+ * computed summary of the event's key fields. Two `modified` items can therefore
323
+ * have identical `old.name` and `new.name` even though their underlying records
324
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
325
+ * fetch full detail.
326
+ */
284
327
  name?: string | null;
285
328
 
329
+ /**
330
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
331
+ * modifications when the only change is priority reordering — this lets clients
332
+ * de-emphasize them in change-review UI. `null` for every other diff item.
333
+ */
286
334
  summary?: string | null;
287
335
 
336
+ /**
337
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
338
+ * `tagManagerVariables`. `null` for every other collection.
339
+ */
288
340
  tagManagerId?: string | null;
289
341
  }
290
342
 
291
343
  export interface Old {
292
344
  id: string;
293
345
 
346
+ /**
347
+ * Human-readable label for the entity at the snapshot it was captured in. For most
348
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
349
+ * computed summary of the event's key fields. Two `modified` items can therefore
350
+ * have identical `old.name` and `new.name` even though their underlying records
351
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
352
+ * fetch full detail.
353
+ */
294
354
  name?: string | null;
295
355
 
356
+ /**
357
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
358
+ * modifications when the only change is priority reordering — this lets clients
359
+ * de-emphasize them in change-review UI. `null` for every other diff item.
360
+ */
296
361
  summary?: string | null;
297
362
 
363
+ /**
364
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
365
+ * `tagManagerVariables`. `null` for every other collection.
366
+ */
298
367
  tagManagerId?: string | null;
299
368
  }
300
369
  }
@@ -302,10 +371,27 @@ export namespace VersionDiffResponse {
302
371
  export interface Removed {
303
372
  id: string;
304
373
 
374
+ /**
375
+ * Human-readable label for the entity at the snapshot it was captured in. For most
376
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
377
+ * computed summary of the event's key fields. Two `modified` items can therefore
378
+ * have identical `old.name` and `new.name` even though their underlying records
379
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
380
+ * fetch full detail.
381
+ */
305
382
  name?: string | null;
306
383
 
384
+ /**
385
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
386
+ * modifications when the only change is priority reordering — this lets clients
387
+ * de-emphasize them in change-review UI. `null` for every other diff item.
388
+ */
307
389
  summary?: string | null;
308
390
 
391
+ /**
392
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
393
+ * `tagManagerVariables`. `null` for every other collection.
394
+ */
309
395
  tagManagerId?: string | null;
310
396
  }
311
397
  }
@@ -313,6 +399,11 @@ export namespace VersionDiffResponse {
313
399
  export interface ConsentSettings {
314
400
  added: Array<ConsentSettings.Added>;
315
401
 
402
+ /**
403
+ * Entities present in both snapshots but with at least one field changed. `old` is
404
+ * the snapshot of the entity in the baseline (latest published); `new` is the
405
+ * snapshot in the comparison target (the draft).
406
+ */
316
407
  modified: Array<ConsentSettings.Modified>;
317
408
 
318
409
  removed: Array<ConsentSettings.Removed>;
@@ -322,10 +413,27 @@ export namespace VersionDiffResponse {
322
413
  export interface Added {
323
414
  id: string;
324
415
 
416
+ /**
417
+ * Human-readable label for the entity at the snapshot it was captured in. For most
418
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
419
+ * computed summary of the event's key fields. Two `modified` items can therefore
420
+ * have identical `old.name` and `new.name` even though their underlying records
421
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
422
+ * fetch full detail.
423
+ */
325
424
  name?: string | null;
326
425
 
426
+ /**
427
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
428
+ * modifications when the only change is priority reordering — this lets clients
429
+ * de-emphasize them in change-review UI. `null` for every other diff item.
430
+ */
327
431
  summary?: string | null;
328
432
 
433
+ /**
434
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
435
+ * `tagManagerVariables`. `null` for every other collection.
436
+ */
329
437
  tagManagerId?: string | null;
330
438
  }
331
439
 
@@ -339,20 +447,54 @@ export namespace VersionDiffResponse {
339
447
  export interface New {
340
448
  id: string;
341
449
 
450
+ /**
451
+ * Human-readable label for the entity at the snapshot it was captured in. For most
452
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
453
+ * computed summary of the event's key fields. Two `modified` items can therefore
454
+ * have identical `old.name` and `new.name` even though their underlying records
455
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
456
+ * fetch full detail.
457
+ */
342
458
  name?: string | null;
343
459
 
460
+ /**
461
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
462
+ * modifications when the only change is priority reordering — this lets clients
463
+ * de-emphasize them in change-review UI. `null` for every other diff item.
464
+ */
344
465
  summary?: string | null;
345
466
 
467
+ /**
468
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
469
+ * `tagManagerVariables`. `null` for every other collection.
470
+ */
346
471
  tagManagerId?: string | null;
347
472
  }
348
473
 
349
474
  export interface Old {
350
475
  id: string;
351
476
 
477
+ /**
478
+ * Human-readable label for the entity at the snapshot it was captured in. For most
479
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
480
+ * computed summary of the event's key fields. Two `modified` items can therefore
481
+ * have identical `old.name` and `new.name` even though their underlying records
482
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
483
+ * fetch full detail.
484
+ */
352
485
  name?: string | null;
353
486
 
487
+ /**
488
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
489
+ * modifications when the only change is priority reordering — this lets clients
490
+ * de-emphasize them in change-review UI. `null` for every other diff item.
491
+ */
354
492
  summary?: string | null;
355
493
 
494
+ /**
495
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
496
+ * `tagManagerVariables`. `null` for every other collection.
497
+ */
356
498
  tagManagerId?: string | null;
357
499
  }
358
500
  }
@@ -360,10 +502,27 @@ export namespace VersionDiffResponse {
360
502
  export interface Removed {
361
503
  id: string;
362
504
 
505
+ /**
506
+ * Human-readable label for the entity at the snapshot it was captured in. For most
507
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
508
+ * computed summary of the event's key fields. Two `modified` items can therefore
509
+ * have identical `old.name` and `new.name` even though their underlying records
510
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
511
+ * fetch full detail.
512
+ */
363
513
  name?: string | null;
364
514
 
515
+ /**
516
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
517
+ * modifications when the only change is priority reordering — this lets clients
518
+ * de-emphasize them in change-review UI. `null` for every other diff item.
519
+ */
365
520
  summary?: string | null;
366
521
 
522
+ /**
523
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
524
+ * `tagManagerVariables`. `null` for every other collection.
525
+ */
367
526
  tagManagerId?: string | null;
368
527
  }
369
528
  }
@@ -371,6 +530,11 @@ export namespace VersionDiffResponse {
371
530
  export interface DataGovernanceEvents {
372
531
  added: Array<DataGovernanceEvents.Added>;
373
532
 
533
+ /**
534
+ * Entities present in both snapshots but with at least one field changed. `old` is
535
+ * the snapshot of the entity in the baseline (latest published); `new` is the
536
+ * snapshot in the comparison target (the draft).
537
+ */
374
538
  modified: Array<DataGovernanceEvents.Modified>;
375
539
 
376
540
  removed: Array<DataGovernanceEvents.Removed>;
@@ -380,10 +544,27 @@ export namespace VersionDiffResponse {
380
544
  export interface Added {
381
545
  id: string;
382
546
 
547
+ /**
548
+ * Human-readable label for the entity at the snapshot it was captured in. For most
549
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
550
+ * computed summary of the event's key fields. Two `modified` items can therefore
551
+ * have identical `old.name` and `new.name` even though their underlying records
552
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
553
+ * fetch full detail.
554
+ */
383
555
  name?: string | null;
384
556
 
557
+ /**
558
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
559
+ * modifications when the only change is priority reordering — this lets clients
560
+ * de-emphasize them in change-review UI. `null` for every other diff item.
561
+ */
385
562
  summary?: string | null;
386
563
 
564
+ /**
565
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
566
+ * `tagManagerVariables`. `null` for every other collection.
567
+ */
387
568
  tagManagerId?: string | null;
388
569
  }
389
570
 
@@ -397,20 +578,54 @@ export namespace VersionDiffResponse {
397
578
  export interface New {
398
579
  id: string;
399
580
 
581
+ /**
582
+ * Human-readable label for the entity at the snapshot it was captured in. For most
583
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
584
+ * computed summary of the event's key fields. Two `modified` items can therefore
585
+ * have identical `old.name` and `new.name` even though their underlying records
586
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
587
+ * fetch full detail.
588
+ */
400
589
  name?: string | null;
401
590
 
591
+ /**
592
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
593
+ * modifications when the only change is priority reordering — this lets clients
594
+ * de-emphasize them in change-review UI. `null` for every other diff item.
595
+ */
402
596
  summary?: string | null;
403
597
 
598
+ /**
599
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
600
+ * `tagManagerVariables`. `null` for every other collection.
601
+ */
404
602
  tagManagerId?: string | null;
405
603
  }
406
604
 
407
605
  export interface Old {
408
606
  id: string;
409
607
 
608
+ /**
609
+ * Human-readable label for the entity at the snapshot it was captured in. For most
610
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
611
+ * computed summary of the event's key fields. Two `modified` items can therefore
612
+ * have identical `old.name` and `new.name` even though their underlying records
613
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
614
+ * fetch full detail.
615
+ */
410
616
  name?: string | null;
411
617
 
618
+ /**
619
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
620
+ * modifications when the only change is priority reordering — this lets clients
621
+ * de-emphasize them in change-review UI. `null` for every other diff item.
622
+ */
412
623
  summary?: string | null;
413
624
 
625
+ /**
626
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
627
+ * `tagManagerVariables`. `null` for every other collection.
628
+ */
414
629
  tagManagerId?: string | null;
415
630
  }
416
631
  }
@@ -418,10 +633,27 @@ export namespace VersionDiffResponse {
418
633
  export interface Removed {
419
634
  id: string;
420
635
 
636
+ /**
637
+ * Human-readable label for the entity at the snapshot it was captured in. For most
638
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
639
+ * computed summary of the event's key fields. Two `modified` items can therefore
640
+ * have identical `old.name` and `new.name` even though their underlying records
641
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
642
+ * fetch full detail.
643
+ */
421
644
  name?: string | null;
422
645
 
646
+ /**
647
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
648
+ * modifications when the only change is priority reordering — this lets clients
649
+ * de-emphasize them in change-review UI. `null` for every other diff item.
650
+ */
423
651
  summary?: string | null;
424
652
 
653
+ /**
654
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
655
+ * `tagManagerVariables`. `null` for every other collection.
656
+ */
425
657
  tagManagerId?: string | null;
426
658
  }
427
659
  }
@@ -429,6 +661,11 @@ export namespace VersionDiffResponse {
429
661
  export interface DataGovernanceRules {
430
662
  added: Array<DataGovernanceRules.Added>;
431
663
 
664
+ /**
665
+ * Entities present in both snapshots but with at least one field changed. `old` is
666
+ * the snapshot of the entity in the baseline (latest published); `new` is the
667
+ * snapshot in the comparison target (the draft).
668
+ */
432
669
  modified: Array<DataGovernanceRules.Modified>;
433
670
 
434
671
  removed: Array<DataGovernanceRules.Removed>;
@@ -438,10 +675,27 @@ export namespace VersionDiffResponse {
438
675
  export interface Added {
439
676
  id: string;
440
677
 
678
+ /**
679
+ * Human-readable label for the entity at the snapshot it was captured in. For most
680
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
681
+ * computed summary of the event's key fields. Two `modified` items can therefore
682
+ * have identical `old.name` and `new.name` even though their underlying records
683
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
684
+ * fetch full detail.
685
+ */
441
686
  name?: string | null;
442
687
 
688
+ /**
689
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
690
+ * modifications when the only change is priority reordering — this lets clients
691
+ * de-emphasize them in change-review UI. `null` for every other diff item.
692
+ */
443
693
  summary?: string | null;
444
694
 
695
+ /**
696
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
697
+ * `tagManagerVariables`. `null` for every other collection.
698
+ */
445
699
  tagManagerId?: string | null;
446
700
  }
447
701
 
@@ -455,20 +709,54 @@ export namespace VersionDiffResponse {
455
709
  export interface New {
456
710
  id: string;
457
711
 
712
+ /**
713
+ * Human-readable label for the entity at the snapshot it was captured in. For most
714
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
715
+ * computed summary of the event's key fields. Two `modified` items can therefore
716
+ * have identical `old.name` and `new.name` even though their underlying records
717
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
718
+ * fetch full detail.
719
+ */
458
720
  name?: string | null;
459
721
 
722
+ /**
723
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
724
+ * modifications when the only change is priority reordering — this lets clients
725
+ * de-emphasize them in change-review UI. `null` for every other diff item.
726
+ */
460
727
  summary?: string | null;
461
728
 
729
+ /**
730
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
731
+ * `tagManagerVariables`. `null` for every other collection.
732
+ */
462
733
  tagManagerId?: string | null;
463
734
  }
464
735
 
465
736
  export interface Old {
466
737
  id: string;
467
738
 
739
+ /**
740
+ * Human-readable label for the entity at the snapshot it was captured in. For most
741
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
742
+ * computed summary of the event's key fields. Two `modified` items can therefore
743
+ * have identical `old.name` and `new.name` even though their underlying records
744
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
745
+ * fetch full detail.
746
+ */
468
747
  name?: string | null;
469
748
 
749
+ /**
750
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
751
+ * modifications when the only change is priority reordering — this lets clients
752
+ * de-emphasize them in change-review UI. `null` for every other diff item.
753
+ */
470
754
  summary?: string | null;
471
755
 
756
+ /**
757
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
758
+ * `tagManagerVariables`. `null` for every other collection.
759
+ */
472
760
  tagManagerId?: string | null;
473
761
  }
474
762
  }
@@ -476,10 +764,27 @@ export namespace VersionDiffResponse {
476
764
  export interface Removed {
477
765
  id: string;
478
766
 
767
+ /**
768
+ * Human-readable label for the entity at the snapshot it was captured in. For most
769
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
770
+ * computed summary of the event's key fields. Two `modified` items can therefore
771
+ * have identical `old.name` and `new.name` even though their underlying records
772
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
773
+ * fetch full detail.
774
+ */
479
775
  name?: string | null;
480
776
 
777
+ /**
778
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
779
+ * modifications when the only change is priority reordering — this lets clients
780
+ * de-emphasize them in change-review UI. `null` for every other diff item.
781
+ */
481
782
  summary?: string | null;
482
783
 
784
+ /**
785
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
786
+ * `tagManagerVariables`. `null` for every other collection.
787
+ */
483
788
  tagManagerId?: string | null;
484
789
  }
485
790
  }
@@ -487,6 +792,11 @@ export namespace VersionDiffResponse {
487
792
  export interface Destinations {
488
793
  added: Array<Destinations.Added>;
489
794
 
795
+ /**
796
+ * Entities present in both snapshots but with at least one field changed. `old` is
797
+ * the snapshot of the entity in the baseline (latest published); `new` is the
798
+ * snapshot in the comparison target (the draft).
799
+ */
490
800
  modified: Array<Destinations.Modified>;
491
801
 
492
802
  removed: Array<Destinations.Removed>;
@@ -496,10 +806,27 @@ export namespace VersionDiffResponse {
496
806
  export interface Added {
497
807
  id: string;
498
808
 
809
+ /**
810
+ * Human-readable label for the entity at the snapshot it was captured in. For most
811
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
812
+ * computed summary of the event's key fields. Two `modified` items can therefore
813
+ * have identical `old.name` and `new.name` even though their underlying records
814
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
815
+ * fetch full detail.
816
+ */
499
817
  name?: string | null;
500
818
 
819
+ /**
820
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
821
+ * modifications when the only change is priority reordering — this lets clients
822
+ * de-emphasize them in change-review UI. `null` for every other diff item.
823
+ */
501
824
  summary?: string | null;
502
825
 
826
+ /**
827
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
828
+ * `tagManagerVariables`. `null` for every other collection.
829
+ */
503
830
  tagManagerId?: string | null;
504
831
  }
505
832
 
@@ -513,20 +840,54 @@ export namespace VersionDiffResponse {
513
840
  export interface New {
514
841
  id: string;
515
842
 
843
+ /**
844
+ * Human-readable label for the entity at the snapshot it was captured in. For most
845
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
846
+ * computed summary of the event's key fields. Two `modified` items can therefore
847
+ * have identical `old.name` and `new.name` even though their underlying records
848
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
849
+ * fetch full detail.
850
+ */
516
851
  name?: string | null;
517
852
 
853
+ /**
854
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
855
+ * modifications when the only change is priority reordering — this lets clients
856
+ * de-emphasize them in change-review UI. `null` for every other diff item.
857
+ */
518
858
  summary?: string | null;
519
859
 
860
+ /**
861
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
862
+ * `tagManagerVariables`. `null` for every other collection.
863
+ */
520
864
  tagManagerId?: string | null;
521
865
  }
522
866
 
523
867
  export interface Old {
524
868
  id: string;
525
869
 
870
+ /**
871
+ * Human-readable label for the entity at the snapshot it was captured in. For most
872
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
873
+ * computed summary of the event's key fields. Two `modified` items can therefore
874
+ * have identical `old.name` and `new.name` even though their underlying records
875
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
876
+ * fetch full detail.
877
+ */
526
878
  name?: string | null;
527
879
 
880
+ /**
881
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
882
+ * modifications when the only change is priority reordering — this lets clients
883
+ * de-emphasize them in change-review UI. `null` for every other diff item.
884
+ */
528
885
  summary?: string | null;
529
886
 
887
+ /**
888
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
889
+ * `tagManagerVariables`. `null` for every other collection.
890
+ */
530
891
  tagManagerId?: string | null;
531
892
  }
532
893
  }
@@ -534,10 +895,27 @@ export namespace VersionDiffResponse {
534
895
  export interface Removed {
535
896
  id: string;
536
897
 
898
+ /**
899
+ * Human-readable label for the entity at the snapshot it was captured in. For most
900
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
901
+ * computed summary of the event's key fields. Two `modified` items can therefore
902
+ * have identical `old.name` and `new.name` even though their underlying records
903
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
904
+ * fetch full detail.
905
+ */
537
906
  name?: string | null;
538
907
 
908
+ /**
909
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
910
+ * modifications when the only change is priority reordering — this lets clients
911
+ * de-emphasize them in change-review UI. `null` for every other diff item.
912
+ */
539
913
  summary?: string | null;
540
914
 
915
+ /**
916
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
917
+ * `tagManagerVariables`. `null` for every other collection.
918
+ */
541
919
  tagManagerId?: string | null;
542
920
  }
543
921
  }
@@ -545,6 +923,11 @@ export namespace VersionDiffResponse {
545
923
  export interface Experiments {
546
924
  added: Array<Experiments.Added>;
547
925
 
926
+ /**
927
+ * Entities present in both snapshots but with at least one field changed. `old` is
928
+ * the snapshot of the entity in the baseline (latest published); `new` is the
929
+ * snapshot in the comparison target (the draft).
930
+ */
548
931
  modified: Array<Experiments.Modified>;
549
932
 
550
933
  removed: Array<Experiments.Removed>;
@@ -554,10 +937,27 @@ export namespace VersionDiffResponse {
554
937
  export interface Added {
555
938
  id: string;
556
939
 
940
+ /**
941
+ * Human-readable label for the entity at the snapshot it was captured in. For most
942
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
943
+ * computed summary of the event's key fields. Two `modified` items can therefore
944
+ * have identical `old.name` and `new.name` even though their underlying records
945
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
946
+ * fetch full detail.
947
+ */
557
948
  name?: string | null;
558
949
 
950
+ /**
951
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
952
+ * modifications when the only change is priority reordering — this lets clients
953
+ * de-emphasize them in change-review UI. `null` for every other diff item.
954
+ */
559
955
  summary?: string | null;
560
956
 
957
+ /**
958
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
959
+ * `tagManagerVariables`. `null` for every other collection.
960
+ */
561
961
  tagManagerId?: string | null;
562
962
  }
563
963
 
@@ -571,20 +971,54 @@ export namespace VersionDiffResponse {
571
971
  export interface New {
572
972
  id: string;
573
973
 
974
+ /**
975
+ * Human-readable label for the entity at the snapshot it was captured in. For most
976
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
977
+ * computed summary of the event's key fields. Two `modified` items can therefore
978
+ * have identical `old.name` and `new.name` even though their underlying records
979
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
980
+ * fetch full detail.
981
+ */
574
982
  name?: string | null;
575
983
 
984
+ /**
985
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
986
+ * modifications when the only change is priority reordering — this lets clients
987
+ * de-emphasize them in change-review UI. `null` for every other diff item.
988
+ */
576
989
  summary?: string | null;
577
990
 
991
+ /**
992
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
993
+ * `tagManagerVariables`. `null` for every other collection.
994
+ */
578
995
  tagManagerId?: string | null;
579
996
  }
580
997
 
581
998
  export interface Old {
582
999
  id: string;
583
1000
 
1001
+ /**
1002
+ * Human-readable label for the entity at the snapshot it was captured in. For most
1003
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
1004
+ * computed summary of the event's key fields. Two `modified` items can therefore
1005
+ * have identical `old.name` and `new.name` even though their underlying records
1006
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
1007
+ * fetch full detail.
1008
+ */
584
1009
  name?: string | null;
585
1010
 
1011
+ /**
1012
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
1013
+ * modifications when the only change is priority reordering — this lets clients
1014
+ * de-emphasize them in change-review UI. `null` for every other diff item.
1015
+ */
586
1016
  summary?: string | null;
587
1017
 
1018
+ /**
1019
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
1020
+ * `tagManagerVariables`. `null` for every other collection.
1021
+ */
588
1022
  tagManagerId?: string | null;
589
1023
  }
590
1024
  }
@@ -592,10 +1026,27 @@ export namespace VersionDiffResponse {
592
1026
  export interface Removed {
593
1027
  id: string;
594
1028
 
1029
+ /**
1030
+ * Human-readable label for the entity at the snapshot it was captured in. For most
1031
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
1032
+ * computed summary of the event's key fields. Two `modified` items can therefore
1033
+ * have identical `old.name` and `new.name` even though their underlying records
1034
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
1035
+ * fetch full detail.
1036
+ */
595
1037
  name?: string | null;
596
1038
 
1039
+ /**
1040
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
1041
+ * modifications when the only change is priority reordering — this lets clients
1042
+ * de-emphasize them in change-review UI. `null` for every other diff item.
1043
+ */
597
1044
  summary?: string | null;
598
1045
 
1046
+ /**
1047
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
1048
+ * `tagManagerVariables`. `null` for every other collection.
1049
+ */
599
1050
  tagManagerId?: string | null;
600
1051
  }
601
1052
  }
@@ -603,6 +1054,11 @@ export namespace VersionDiffResponse {
603
1054
  export interface ExperimentSettings {
604
1055
  added: Array<ExperimentSettings.Added>;
605
1056
 
1057
+ /**
1058
+ * Entities present in both snapshots but with at least one field changed. `old` is
1059
+ * the snapshot of the entity in the baseline (latest published); `new` is the
1060
+ * snapshot in the comparison target (the draft).
1061
+ */
606
1062
  modified: Array<ExperimentSettings.Modified>;
607
1063
 
608
1064
  removed: Array<ExperimentSettings.Removed>;
@@ -612,10 +1068,27 @@ export namespace VersionDiffResponse {
612
1068
  export interface Added {
613
1069
  id: string;
614
1070
 
1071
+ /**
1072
+ * Human-readable label for the entity at the snapshot it was captured in. For most
1073
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
1074
+ * computed summary of the event's key fields. Two `modified` items can therefore
1075
+ * have identical `old.name` and `new.name` even though their underlying records
1076
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
1077
+ * fetch full detail.
1078
+ */
615
1079
  name?: string | null;
616
1080
 
1081
+ /**
1082
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
1083
+ * modifications when the only change is priority reordering — this lets clients
1084
+ * de-emphasize them in change-review UI. `null` for every other diff item.
1085
+ */
617
1086
  summary?: string | null;
618
1087
 
1088
+ /**
1089
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
1090
+ * `tagManagerVariables`. `null` for every other collection.
1091
+ */
619
1092
  tagManagerId?: string | null;
620
1093
  }
621
1094
 
@@ -629,20 +1102,54 @@ export namespace VersionDiffResponse {
629
1102
  export interface New {
630
1103
  id: string;
631
1104
 
1105
+ /**
1106
+ * Human-readable label for the entity at the snapshot it was captured in. For most
1107
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
1108
+ * computed summary of the event's key fields. Two `modified` items can therefore
1109
+ * have identical `old.name` and `new.name` even though their underlying records
1110
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
1111
+ * fetch full detail.
1112
+ */
632
1113
  name?: string | null;
633
1114
 
1115
+ /**
1116
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
1117
+ * modifications when the only change is priority reordering — this lets clients
1118
+ * de-emphasize them in change-review UI. `null` for every other diff item.
1119
+ */
634
1120
  summary?: string | null;
635
1121
 
1122
+ /**
1123
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
1124
+ * `tagManagerVariables`. `null` for every other collection.
1125
+ */
636
1126
  tagManagerId?: string | null;
637
1127
  }
638
1128
 
639
1129
  export interface Old {
640
1130
  id: string;
641
1131
 
1132
+ /**
1133
+ * Human-readable label for the entity at the snapshot it was captured in. For most
1134
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
1135
+ * computed summary of the event's key fields. Two `modified` items can therefore
1136
+ * have identical `old.name` and `new.name` even though their underlying records
1137
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
1138
+ * fetch full detail.
1139
+ */
642
1140
  name?: string | null;
643
1141
 
1142
+ /**
1143
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
1144
+ * modifications when the only change is priority reordering — this lets clients
1145
+ * de-emphasize them in change-review UI. `null` for every other diff item.
1146
+ */
644
1147
  summary?: string | null;
645
1148
 
1149
+ /**
1150
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
1151
+ * `tagManagerVariables`. `null` for every other collection.
1152
+ */
646
1153
  tagManagerId?: string | null;
647
1154
  }
648
1155
  }
@@ -650,10 +1157,27 @@ export namespace VersionDiffResponse {
650
1157
  export interface Removed {
651
1158
  id: string;
652
1159
 
1160
+ /**
1161
+ * Human-readable label for the entity at the snapshot it was captured in. For most
1162
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
1163
+ * computed summary of the event's key fields. Two `modified` items can therefore
1164
+ * have identical `old.name` and `new.name` even though their underlying records
1165
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
1166
+ * fetch full detail.
1167
+ */
653
1168
  name?: string | null;
654
1169
 
1170
+ /**
1171
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
1172
+ * modifications when the only change is priority reordering — this lets clients
1173
+ * de-emphasize them in change-review UI. `null` for every other diff item.
1174
+ */
655
1175
  summary?: string | null;
656
1176
 
1177
+ /**
1178
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
1179
+ * `tagManagerVariables`. `null` for every other collection.
1180
+ */
657
1181
  tagManagerId?: string | null;
658
1182
  }
659
1183
  }
@@ -661,6 +1185,11 @@ export namespace VersionDiffResponse {
661
1185
  export interface ExperimentVariants {
662
1186
  added: Array<ExperimentVariants.Added>;
663
1187
 
1188
+ /**
1189
+ * Entities present in both snapshots but with at least one field changed. `old` is
1190
+ * the snapshot of the entity in the baseline (latest published); `new` is the
1191
+ * snapshot in the comparison target (the draft).
1192
+ */
664
1193
  modified: Array<ExperimentVariants.Modified>;
665
1194
 
666
1195
  removed: Array<ExperimentVariants.Removed>;
@@ -670,10 +1199,27 @@ export namespace VersionDiffResponse {
670
1199
  export interface Added {
671
1200
  id: string;
672
1201
 
1202
+ /**
1203
+ * Human-readable label for the entity at the snapshot it was captured in. For most
1204
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
1205
+ * computed summary of the event's key fields. Two `modified` items can therefore
1206
+ * have identical `old.name` and `new.name` even though their underlying records
1207
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
1208
+ * fetch full detail.
1209
+ */
673
1210
  name?: string | null;
674
1211
 
1212
+ /**
1213
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
1214
+ * modifications when the only change is priority reordering — this lets clients
1215
+ * de-emphasize them in change-review UI. `null` for every other diff item.
1216
+ */
675
1217
  summary?: string | null;
676
1218
 
1219
+ /**
1220
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
1221
+ * `tagManagerVariables`. `null` for every other collection.
1222
+ */
677
1223
  tagManagerId?: string | null;
678
1224
  }
679
1225
 
@@ -687,20 +1233,54 @@ export namespace VersionDiffResponse {
687
1233
  export interface New {
688
1234
  id: string;
689
1235
 
1236
+ /**
1237
+ * Human-readable label for the entity at the snapshot it was captured in. For most
1238
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
1239
+ * computed summary of the event's key fields. Two `modified` items can therefore
1240
+ * have identical `old.name` and `new.name` even though their underlying records
1241
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
1242
+ * fetch full detail.
1243
+ */
690
1244
  name?: string | null;
691
1245
 
1246
+ /**
1247
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
1248
+ * modifications when the only change is priority reordering — this lets clients
1249
+ * de-emphasize them in change-review UI. `null` for every other diff item.
1250
+ */
692
1251
  summary?: string | null;
693
1252
 
1253
+ /**
1254
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
1255
+ * `tagManagerVariables`. `null` for every other collection.
1256
+ */
694
1257
  tagManagerId?: string | null;
695
1258
  }
696
1259
 
697
1260
  export interface Old {
698
1261
  id: string;
699
1262
 
1263
+ /**
1264
+ * Human-readable label for the entity at the snapshot it was captured in. For most
1265
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
1266
+ * computed summary of the event's key fields. Two `modified` items can therefore
1267
+ * have identical `old.name` and `new.name` even though their underlying records
1268
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
1269
+ * fetch full detail.
1270
+ */
700
1271
  name?: string | null;
701
1272
 
1273
+ /**
1274
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
1275
+ * modifications when the only change is priority reordering — this lets clients
1276
+ * de-emphasize them in change-review UI. `null` for every other diff item.
1277
+ */
702
1278
  summary?: string | null;
703
1279
 
1280
+ /**
1281
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
1282
+ * `tagManagerVariables`. `null` for every other collection.
1283
+ */
704
1284
  tagManagerId?: string | null;
705
1285
  }
706
1286
  }
@@ -708,10 +1288,27 @@ export namespace VersionDiffResponse {
708
1288
  export interface Removed {
709
1289
  id: string;
710
1290
 
1291
+ /**
1292
+ * Human-readable label for the entity at the snapshot it was captured in. For most
1293
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
1294
+ * computed summary of the event's key fields. Two `modified` items can therefore
1295
+ * have identical `old.name` and `new.name` even though their underlying records
1296
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
1297
+ * fetch full detail.
1298
+ */
711
1299
  name?: string | null;
712
1300
 
1301
+ /**
1302
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
1303
+ * modifications when the only change is priority reordering — this lets clients
1304
+ * de-emphasize them in change-review UI. `null` for every other diff item.
1305
+ */
713
1306
  summary?: string | null;
714
1307
 
1308
+ /**
1309
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
1310
+ * `tagManagerVariables`. `null` for every other collection.
1311
+ */
715
1312
  tagManagerId?: string | null;
716
1313
  }
717
1314
  }
@@ -719,6 +1316,11 @@ export namespace VersionDiffResponse {
719
1316
  export interface ExternalAllowedEventData {
720
1317
  added: Array<ExternalAllowedEventData.Added>;
721
1318
 
1319
+ /**
1320
+ * Entities present in both snapshots but with at least one field changed. `old` is
1321
+ * the snapshot of the entity in the baseline (latest published); `new` is the
1322
+ * snapshot in the comparison target (the draft).
1323
+ */
722
1324
  modified: Array<ExternalAllowedEventData.Modified>;
723
1325
 
724
1326
  removed: Array<ExternalAllowedEventData.Removed>;
@@ -728,10 +1330,27 @@ export namespace VersionDiffResponse {
728
1330
  export interface Added {
729
1331
  id: string;
730
1332
 
1333
+ /**
1334
+ * Human-readable label for the entity at the snapshot it was captured in. For most
1335
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
1336
+ * computed summary of the event's key fields. Two `modified` items can therefore
1337
+ * have identical `old.name` and `new.name` even though their underlying records
1338
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
1339
+ * fetch full detail.
1340
+ */
731
1341
  name?: string | null;
732
1342
 
1343
+ /**
1344
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
1345
+ * modifications when the only change is priority reordering — this lets clients
1346
+ * de-emphasize them in change-review UI. `null` for every other diff item.
1347
+ */
733
1348
  summary?: string | null;
734
1349
 
1350
+ /**
1351
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
1352
+ * `tagManagerVariables`. `null` for every other collection.
1353
+ */
735
1354
  tagManagerId?: string | null;
736
1355
  }
737
1356
 
@@ -745,20 +1364,54 @@ export namespace VersionDiffResponse {
745
1364
  export interface New {
746
1365
  id: string;
747
1366
 
1367
+ /**
1368
+ * Human-readable label for the entity at the snapshot it was captured in. For most
1369
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
1370
+ * computed summary of the event's key fields. Two `modified` items can therefore
1371
+ * have identical `old.name` and `new.name` even though their underlying records
1372
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
1373
+ * fetch full detail.
1374
+ */
748
1375
  name?: string | null;
749
1376
 
1377
+ /**
1378
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
1379
+ * modifications when the only change is priority reordering — this lets clients
1380
+ * de-emphasize them in change-review UI. `null` for every other diff item.
1381
+ */
750
1382
  summary?: string | null;
751
1383
 
1384
+ /**
1385
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
1386
+ * `tagManagerVariables`. `null` for every other collection.
1387
+ */
752
1388
  tagManagerId?: string | null;
753
1389
  }
754
1390
 
755
1391
  export interface Old {
756
1392
  id: string;
757
1393
 
1394
+ /**
1395
+ * Human-readable label for the entity at the snapshot it was captured in. For most
1396
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
1397
+ * computed summary of the event's key fields. Two `modified` items can therefore
1398
+ * have identical `old.name` and `new.name` even though their underlying records
1399
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
1400
+ * fetch full detail.
1401
+ */
758
1402
  name?: string | null;
759
1403
 
1404
+ /**
1405
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
1406
+ * modifications when the only change is priority reordering — this lets clients
1407
+ * de-emphasize them in change-review UI. `null` for every other diff item.
1408
+ */
760
1409
  summary?: string | null;
761
1410
 
1411
+ /**
1412
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
1413
+ * `tagManagerVariables`. `null` for every other collection.
1414
+ */
762
1415
  tagManagerId?: string | null;
763
1416
  }
764
1417
  }
@@ -766,10 +1419,27 @@ export namespace VersionDiffResponse {
766
1419
  export interface Removed {
767
1420
  id: string;
768
1421
 
1422
+ /**
1423
+ * Human-readable label for the entity at the snapshot it was captured in. For most
1424
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
1425
+ * computed summary of the event's key fields. Two `modified` items can therefore
1426
+ * have identical `old.name` and `new.name` even though their underlying records
1427
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
1428
+ * fetch full detail.
1429
+ */
769
1430
  name?: string | null;
770
1431
 
1432
+ /**
1433
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
1434
+ * modifications when the only change is priority reordering — this lets clients
1435
+ * de-emphasize them in change-review UI. `null` for every other diff item.
1436
+ */
771
1437
  summary?: string | null;
772
1438
 
1439
+ /**
1440
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
1441
+ * `tagManagerVariables`. `null` for every other collection.
1442
+ */
773
1443
  tagManagerId?: string | null;
774
1444
  }
775
1445
  }
@@ -777,6 +1447,11 @@ export namespace VersionDiffResponse {
777
1447
  export interface GlobalDispatchCenters {
778
1448
  added: Array<GlobalDispatchCenters.Added>;
779
1449
 
1450
+ /**
1451
+ * Entities present in both snapshots but with at least one field changed. `old` is
1452
+ * the snapshot of the entity in the baseline (latest published); `new` is the
1453
+ * snapshot in the comparison target (the draft).
1454
+ */
780
1455
  modified: Array<GlobalDispatchCenters.Modified>;
781
1456
 
782
1457
  removed: Array<GlobalDispatchCenters.Removed>;
@@ -786,10 +1461,27 @@ export namespace VersionDiffResponse {
786
1461
  export interface Added {
787
1462
  id: string;
788
1463
 
1464
+ /**
1465
+ * Human-readable label for the entity at the snapshot it was captured in. For most
1466
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
1467
+ * computed summary of the event's key fields. Two `modified` items can therefore
1468
+ * have identical `old.name` and `new.name` even though their underlying records
1469
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
1470
+ * fetch full detail.
1471
+ */
789
1472
  name?: string | null;
790
1473
 
1474
+ /**
1475
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
1476
+ * modifications when the only change is priority reordering — this lets clients
1477
+ * de-emphasize them in change-review UI. `null` for every other diff item.
1478
+ */
791
1479
  summary?: string | null;
792
1480
 
1481
+ /**
1482
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
1483
+ * `tagManagerVariables`. `null` for every other collection.
1484
+ */
793
1485
  tagManagerId?: string | null;
794
1486
  }
795
1487
 
@@ -803,20 +1495,54 @@ export namespace VersionDiffResponse {
803
1495
  export interface New {
804
1496
  id: string;
805
1497
 
1498
+ /**
1499
+ * Human-readable label for the entity at the snapshot it was captured in. For most
1500
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
1501
+ * computed summary of the event's key fields. Two `modified` items can therefore
1502
+ * have identical `old.name` and `new.name` even though their underlying records
1503
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
1504
+ * fetch full detail.
1505
+ */
806
1506
  name?: string | null;
807
1507
 
1508
+ /**
1509
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
1510
+ * modifications when the only change is priority reordering — this lets clients
1511
+ * de-emphasize them in change-review UI. `null` for every other diff item.
1512
+ */
808
1513
  summary?: string | null;
809
1514
 
1515
+ /**
1516
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
1517
+ * `tagManagerVariables`. `null` for every other collection.
1518
+ */
810
1519
  tagManagerId?: string | null;
811
1520
  }
812
1521
 
813
1522
  export interface Old {
814
1523
  id: string;
815
1524
 
1525
+ /**
1526
+ * Human-readable label for the entity at the snapshot it was captured in. For most
1527
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
1528
+ * computed summary of the event's key fields. Two `modified` items can therefore
1529
+ * have identical `old.name` and `new.name` even though their underlying records
1530
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
1531
+ * fetch full detail.
1532
+ */
816
1533
  name?: string | null;
817
1534
 
1535
+ /**
1536
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
1537
+ * modifications when the only change is priority reordering — this lets clients
1538
+ * de-emphasize them in change-review UI. `null` for every other diff item.
1539
+ */
818
1540
  summary?: string | null;
819
1541
 
1542
+ /**
1543
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
1544
+ * `tagManagerVariables`. `null` for every other collection.
1545
+ */
820
1546
  tagManagerId?: string | null;
821
1547
  }
822
1548
  }
@@ -824,10 +1550,27 @@ export namespace VersionDiffResponse {
824
1550
  export interface Removed {
825
1551
  id: string;
826
1552
 
1553
+ /**
1554
+ * Human-readable label for the entity at the snapshot it was captured in. For most
1555
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
1556
+ * computed summary of the event's key fields. Two `modified` items can therefore
1557
+ * have identical `old.name` and `new.name` even though their underlying records
1558
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
1559
+ * fetch full detail.
1560
+ */
827
1561
  name?: string | null;
828
1562
 
1563
+ /**
1564
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
1565
+ * modifications when the only change is priority reordering — this lets clients
1566
+ * de-emphasize them in change-review UI. `null` for every other diff item.
1567
+ */
829
1568
  summary?: string | null;
830
1569
 
1570
+ /**
1571
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
1572
+ * `tagManagerVariables`. `null` for every other collection.
1573
+ */
831
1574
  tagManagerId?: string | null;
832
1575
  }
833
1576
  }
@@ -835,6 +1578,11 @@ export namespace VersionDiffResponse {
835
1578
  export interface Mappings {
836
1579
  added: Array<Mappings.Added>;
837
1580
 
1581
+ /**
1582
+ * Entities present in both snapshots but with at least one field changed. `old` is
1583
+ * the snapshot of the entity in the baseline (latest published); `new` is the
1584
+ * snapshot in the comparison target (the draft).
1585
+ */
838
1586
  modified: Array<Mappings.Modified>;
839
1587
 
840
1588
  removed: Array<Mappings.Removed>;
@@ -844,10 +1592,27 @@ export namespace VersionDiffResponse {
844
1592
  export interface Added {
845
1593
  id: string;
846
1594
 
1595
+ /**
1596
+ * Human-readable label for the entity at the snapshot it was captured in. For most
1597
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
1598
+ * computed summary of the event's key fields. Two `modified` items can therefore
1599
+ * have identical `old.name` and `new.name` even though their underlying records
1600
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
1601
+ * fetch full detail.
1602
+ */
847
1603
  name?: string | null;
848
1604
 
1605
+ /**
1606
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
1607
+ * modifications when the only change is priority reordering — this lets clients
1608
+ * de-emphasize them in change-review UI. `null` for every other diff item.
1609
+ */
849
1610
  summary?: string | null;
850
1611
 
1612
+ /**
1613
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
1614
+ * `tagManagerVariables`. `null` for every other collection.
1615
+ */
851
1616
  tagManagerId?: string | null;
852
1617
  }
853
1618
 
@@ -861,20 +1626,54 @@ export namespace VersionDiffResponse {
861
1626
  export interface New {
862
1627
  id: string;
863
1628
 
1629
+ /**
1630
+ * Human-readable label for the entity at the snapshot it was captured in. For most
1631
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
1632
+ * computed summary of the event's key fields. Two `modified` items can therefore
1633
+ * have identical `old.name` and `new.name` even though their underlying records
1634
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
1635
+ * fetch full detail.
1636
+ */
864
1637
  name?: string | null;
865
1638
 
1639
+ /**
1640
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
1641
+ * modifications when the only change is priority reordering — this lets clients
1642
+ * de-emphasize them in change-review UI. `null` for every other diff item.
1643
+ */
866
1644
  summary?: string | null;
867
1645
 
1646
+ /**
1647
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
1648
+ * `tagManagerVariables`. `null` for every other collection.
1649
+ */
868
1650
  tagManagerId?: string | null;
869
1651
  }
870
1652
 
871
1653
  export interface Old {
872
1654
  id: string;
873
1655
 
1656
+ /**
1657
+ * Human-readable label for the entity at the snapshot it was captured in. For most
1658
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
1659
+ * computed summary of the event's key fields. Two `modified` items can therefore
1660
+ * have identical `old.name` and `new.name` even though their underlying records
1661
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
1662
+ * fetch full detail.
1663
+ */
874
1664
  name?: string | null;
875
1665
 
1666
+ /**
1667
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
1668
+ * modifications when the only change is priority reordering — this lets clients
1669
+ * de-emphasize them in change-review UI. `null` for every other diff item.
1670
+ */
876
1671
  summary?: string | null;
877
1672
 
1673
+ /**
1674
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
1675
+ * `tagManagerVariables`. `null` for every other collection.
1676
+ */
878
1677
  tagManagerId?: string | null;
879
1678
  }
880
1679
  }
@@ -882,10 +1681,27 @@ export namespace VersionDiffResponse {
882
1681
  export interface Removed {
883
1682
  id: string;
884
1683
 
1684
+ /**
1685
+ * Human-readable label for the entity at the snapshot it was captured in. For most
1686
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
1687
+ * computed summary of the event's key fields. Two `modified` items can therefore
1688
+ * have identical `old.name` and `new.name` even though their underlying records
1689
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
1690
+ * fetch full detail.
1691
+ */
885
1692
  name?: string | null;
886
1693
 
1694
+ /**
1695
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
1696
+ * modifications when the only change is priority reordering — this lets clients
1697
+ * de-emphasize them in change-review UI. `null` for every other diff item.
1698
+ */
887
1699
  summary?: string | null;
888
1700
 
1701
+ /**
1702
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
1703
+ * `tagManagerVariables`. `null` for every other collection.
1704
+ */
889
1705
  tagManagerId?: string | null;
890
1706
  }
891
1707
  }
@@ -893,6 +1709,11 @@ export namespace VersionDiffResponse {
893
1709
  export interface ReplaySettings {
894
1710
  added: Array<ReplaySettings.Added>;
895
1711
 
1712
+ /**
1713
+ * Entities present in both snapshots but with at least one field changed. `old` is
1714
+ * the snapshot of the entity in the baseline (latest published); `new` is the
1715
+ * snapshot in the comparison target (the draft).
1716
+ */
896
1717
  modified: Array<ReplaySettings.Modified>;
897
1718
 
898
1719
  removed: Array<ReplaySettings.Removed>;
@@ -902,10 +1723,27 @@ export namespace VersionDiffResponse {
902
1723
  export interface Added {
903
1724
  id: string;
904
1725
 
1726
+ /**
1727
+ * Human-readable label for the entity at the snapshot it was captured in. For most
1728
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
1729
+ * computed summary of the event's key fields. Two `modified` items can therefore
1730
+ * have identical `old.name` and `new.name` even though their underlying records
1731
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
1732
+ * fetch full detail.
1733
+ */
905
1734
  name?: string | null;
906
1735
 
1736
+ /**
1737
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
1738
+ * modifications when the only change is priority reordering — this lets clients
1739
+ * de-emphasize them in change-review UI. `null` for every other diff item.
1740
+ */
907
1741
  summary?: string | null;
908
1742
 
1743
+ /**
1744
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
1745
+ * `tagManagerVariables`. `null` for every other collection.
1746
+ */
909
1747
  tagManagerId?: string | null;
910
1748
  }
911
1749
 
@@ -919,20 +1757,54 @@ export namespace VersionDiffResponse {
919
1757
  export interface New {
920
1758
  id: string;
921
1759
 
1760
+ /**
1761
+ * Human-readable label for the entity at the snapshot it was captured in. For most
1762
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
1763
+ * computed summary of the event's key fields. Two `modified` items can therefore
1764
+ * have identical `old.name` and `new.name` even though their underlying records
1765
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
1766
+ * fetch full detail.
1767
+ */
922
1768
  name?: string | null;
923
1769
 
1770
+ /**
1771
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
1772
+ * modifications when the only change is priority reordering — this lets clients
1773
+ * de-emphasize them in change-review UI. `null` for every other diff item.
1774
+ */
924
1775
  summary?: string | null;
925
1776
 
1777
+ /**
1778
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
1779
+ * `tagManagerVariables`. `null` for every other collection.
1780
+ */
926
1781
  tagManagerId?: string | null;
927
1782
  }
928
1783
 
929
1784
  export interface Old {
930
1785
  id: string;
931
1786
 
1787
+ /**
1788
+ * Human-readable label for the entity at the snapshot it was captured in. For most
1789
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
1790
+ * computed summary of the event's key fields. Two `modified` items can therefore
1791
+ * have identical `old.name` and `new.name` even though their underlying records
1792
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
1793
+ * fetch full detail.
1794
+ */
932
1795
  name?: string | null;
933
1796
 
1797
+ /**
1798
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
1799
+ * modifications when the only change is priority reordering — this lets clients
1800
+ * de-emphasize them in change-review UI. `null` for every other diff item.
1801
+ */
934
1802
  summary?: string | null;
935
1803
 
1804
+ /**
1805
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
1806
+ * `tagManagerVariables`. `null` for every other collection.
1807
+ */
936
1808
  tagManagerId?: string | null;
937
1809
  }
938
1810
  }
@@ -940,10 +1812,27 @@ export namespace VersionDiffResponse {
940
1812
  export interface Removed {
941
1813
  id: string;
942
1814
 
1815
+ /**
1816
+ * Human-readable label for the entity at the snapshot it was captured in. For most
1817
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
1818
+ * computed summary of the event's key fields. Two `modified` items can therefore
1819
+ * have identical `old.name` and `new.name` even though their underlying records
1820
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
1821
+ * fetch full detail.
1822
+ */
943
1823
  name?: string | null;
944
1824
 
1825
+ /**
1826
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
1827
+ * modifications when the only change is priority reordering — this lets clients
1828
+ * de-emphasize them in change-review UI. `null` for every other diff item.
1829
+ */
945
1830
  summary?: string | null;
946
1831
 
1832
+ /**
1833
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
1834
+ * `tagManagerVariables`. `null` for every other collection.
1835
+ */
947
1836
  tagManagerId?: string | null;
948
1837
  }
949
1838
  }
@@ -951,6 +1840,11 @@ export namespace VersionDiffResponse {
951
1840
  export interface Sources {
952
1841
  added: Array<Sources.Added>;
953
1842
 
1843
+ /**
1844
+ * Entities present in both snapshots but with at least one field changed. `old` is
1845
+ * the snapshot of the entity in the baseline (latest published); `new` is the
1846
+ * snapshot in the comparison target (the draft).
1847
+ */
954
1848
  modified: Array<Sources.Modified>;
955
1849
 
956
1850
  removed: Array<Sources.Removed>;
@@ -960,10 +1854,27 @@ export namespace VersionDiffResponse {
960
1854
  export interface Added {
961
1855
  id: string;
962
1856
 
1857
+ /**
1858
+ * Human-readable label for the entity at the snapshot it was captured in. For most
1859
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
1860
+ * computed summary of the event's key fields. Two `modified` items can therefore
1861
+ * have identical `old.name` and `new.name` even though their underlying records
1862
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
1863
+ * fetch full detail.
1864
+ */
963
1865
  name?: string | null;
964
1866
 
1867
+ /**
1868
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
1869
+ * modifications when the only change is priority reordering — this lets clients
1870
+ * de-emphasize them in change-review UI. `null` for every other diff item.
1871
+ */
965
1872
  summary?: string | null;
966
1873
 
1874
+ /**
1875
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
1876
+ * `tagManagerVariables`. `null` for every other collection.
1877
+ */
967
1878
  tagManagerId?: string | null;
968
1879
  }
969
1880
 
@@ -977,20 +1888,54 @@ export namespace VersionDiffResponse {
977
1888
  export interface New {
978
1889
  id: string;
979
1890
 
1891
+ /**
1892
+ * Human-readable label for the entity at the snapshot it was captured in. For most
1893
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
1894
+ * computed summary of the event's key fields. Two `modified` items can therefore
1895
+ * have identical `old.name` and `new.name` even though their underlying records
1896
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
1897
+ * fetch full detail.
1898
+ */
980
1899
  name?: string | null;
981
1900
 
1901
+ /**
1902
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
1903
+ * modifications when the only change is priority reordering — this lets clients
1904
+ * de-emphasize them in change-review UI. `null` for every other diff item.
1905
+ */
982
1906
  summary?: string | null;
983
1907
 
1908
+ /**
1909
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
1910
+ * `tagManagerVariables`. `null` for every other collection.
1911
+ */
984
1912
  tagManagerId?: string | null;
985
1913
  }
986
1914
 
987
1915
  export interface Old {
988
1916
  id: string;
989
1917
 
1918
+ /**
1919
+ * Human-readable label for the entity at the snapshot it was captured in. For most
1920
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
1921
+ * computed summary of the event's key fields. Two `modified` items can therefore
1922
+ * have identical `old.name` and `new.name` even though their underlying records
1923
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
1924
+ * fetch full detail.
1925
+ */
990
1926
  name?: string | null;
991
1927
 
1928
+ /**
1929
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
1930
+ * modifications when the only change is priority reordering — this lets clients
1931
+ * de-emphasize them in change-review UI. `null` for every other diff item.
1932
+ */
992
1933
  summary?: string | null;
993
1934
 
1935
+ /**
1936
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
1937
+ * `tagManagerVariables`. `null` for every other collection.
1938
+ */
994
1939
  tagManagerId?: string | null;
995
1940
  }
996
1941
  }
@@ -998,10 +1943,27 @@ export namespace VersionDiffResponse {
998
1943
  export interface Removed {
999
1944
  id: string;
1000
1945
 
1946
+ /**
1947
+ * Human-readable label for the entity at the snapshot it was captured in. For most
1948
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
1949
+ * computed summary of the event's key fields. Two `modified` items can therefore
1950
+ * have identical `old.name` and `new.name` even though their underlying records
1951
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
1952
+ * fetch full detail.
1953
+ */
1001
1954
  name?: string | null;
1002
1955
 
1956
+ /**
1957
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
1958
+ * modifications when the only change is priority reordering — this lets clients
1959
+ * de-emphasize them in change-review UI. `null` for every other diff item.
1960
+ */
1003
1961
  summary?: string | null;
1004
1962
 
1963
+ /**
1964
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
1965
+ * `tagManagerVariables`. `null` for every other collection.
1966
+ */
1005
1967
  tagManagerId?: string | null;
1006
1968
  }
1007
1969
  }
@@ -1009,6 +1971,11 @@ export namespace VersionDiffResponse {
1009
1971
  export interface TagManagerTags {
1010
1972
  added: Array<TagManagerTags.Added>;
1011
1973
 
1974
+ /**
1975
+ * Entities present in both snapshots but with at least one field changed. `old` is
1976
+ * the snapshot of the entity in the baseline (latest published); `new` is the
1977
+ * snapshot in the comparison target (the draft).
1978
+ */
1012
1979
  modified: Array<TagManagerTags.Modified>;
1013
1980
 
1014
1981
  removed: Array<TagManagerTags.Removed>;
@@ -1018,10 +1985,27 @@ export namespace VersionDiffResponse {
1018
1985
  export interface Added {
1019
1986
  id: string;
1020
1987
 
1988
+ /**
1989
+ * Human-readable label for the entity at the snapshot it was captured in. For most
1990
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
1991
+ * computed summary of the event's key fields. Two `modified` items can therefore
1992
+ * have identical `old.name` and `new.name` even though their underlying records
1993
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
1994
+ * fetch full detail.
1995
+ */
1021
1996
  name?: string | null;
1022
1997
 
1998
+ /**
1999
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
2000
+ * modifications when the only change is priority reordering — this lets clients
2001
+ * de-emphasize them in change-review UI. `null` for every other diff item.
2002
+ */
1023
2003
  summary?: string | null;
1024
2004
 
2005
+ /**
2006
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
2007
+ * `tagManagerVariables`. `null` for every other collection.
2008
+ */
1025
2009
  tagManagerId?: string | null;
1026
2010
  }
1027
2011
 
@@ -1035,20 +2019,54 @@ export namespace VersionDiffResponse {
1035
2019
  export interface New {
1036
2020
  id: string;
1037
2021
 
2022
+ /**
2023
+ * Human-readable label for the entity at the snapshot it was captured in. For most
2024
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
2025
+ * computed summary of the event's key fields. Two `modified` items can therefore
2026
+ * have identical `old.name` and `new.name` even though their underlying records
2027
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
2028
+ * fetch full detail.
2029
+ */
1038
2030
  name?: string | null;
1039
2031
 
2032
+ /**
2033
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
2034
+ * modifications when the only change is priority reordering — this lets clients
2035
+ * de-emphasize them in change-review UI. `null` for every other diff item.
2036
+ */
1040
2037
  summary?: string | null;
1041
2038
 
2039
+ /**
2040
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
2041
+ * `tagManagerVariables`. `null` for every other collection.
2042
+ */
1042
2043
  tagManagerId?: string | null;
1043
2044
  }
1044
2045
 
1045
2046
  export interface Old {
1046
2047
  id: string;
1047
2048
 
2049
+ /**
2050
+ * Human-readable label for the entity at the snapshot it was captured in. For most
2051
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
2052
+ * computed summary of the event's key fields. Two `modified` items can therefore
2053
+ * have identical `old.name` and `new.name` even though their underlying records
2054
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
2055
+ * fetch full detail.
2056
+ */
1048
2057
  name?: string | null;
1049
2058
 
2059
+ /**
2060
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
2061
+ * modifications when the only change is priority reordering — this lets clients
2062
+ * de-emphasize them in change-review UI. `null` for every other diff item.
2063
+ */
1050
2064
  summary?: string | null;
1051
2065
 
2066
+ /**
2067
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
2068
+ * `tagManagerVariables`. `null` for every other collection.
2069
+ */
1052
2070
  tagManagerId?: string | null;
1053
2071
  }
1054
2072
  }
@@ -1056,10 +2074,27 @@ export namespace VersionDiffResponse {
1056
2074
  export interface Removed {
1057
2075
  id: string;
1058
2076
 
2077
+ /**
2078
+ * Human-readable label for the entity at the snapshot it was captured in. For most
2079
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
2080
+ * computed summary of the event's key fields. Two `modified` items can therefore
2081
+ * have identical `old.name` and `new.name` even though their underlying records
2082
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
2083
+ * fetch full detail.
2084
+ */
1059
2085
  name?: string | null;
1060
2086
 
2087
+ /**
2088
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
2089
+ * modifications when the only change is priority reordering — this lets clients
2090
+ * de-emphasize them in change-review UI. `null` for every other diff item.
2091
+ */
1061
2092
  summary?: string | null;
1062
2093
 
2094
+ /**
2095
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
2096
+ * `tagManagerVariables`. `null` for every other collection.
2097
+ */
1063
2098
  tagManagerId?: string | null;
1064
2099
  }
1065
2100
  }
@@ -1067,6 +2102,11 @@ export namespace VersionDiffResponse {
1067
2102
  export interface TagManagerTriggers {
1068
2103
  added: Array<TagManagerTriggers.Added>;
1069
2104
 
2105
+ /**
2106
+ * Entities present in both snapshots but with at least one field changed. `old` is
2107
+ * the snapshot of the entity in the baseline (latest published); `new` is the
2108
+ * snapshot in the comparison target (the draft).
2109
+ */
1070
2110
  modified: Array<TagManagerTriggers.Modified>;
1071
2111
 
1072
2112
  removed: Array<TagManagerTriggers.Removed>;
@@ -1076,10 +2116,27 @@ export namespace VersionDiffResponse {
1076
2116
  export interface Added {
1077
2117
  id: string;
1078
2118
 
2119
+ /**
2120
+ * Human-readable label for the entity at the snapshot it was captured in. For most
2121
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
2122
+ * computed summary of the event's key fields. Two `modified` items can therefore
2123
+ * have identical `old.name` and `new.name` even though their underlying records
2124
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
2125
+ * fetch full detail.
2126
+ */
1079
2127
  name?: string | null;
1080
2128
 
2129
+ /**
2130
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
2131
+ * modifications when the only change is priority reordering — this lets clients
2132
+ * de-emphasize them in change-review UI. `null` for every other diff item.
2133
+ */
1081
2134
  summary?: string | null;
1082
2135
 
2136
+ /**
2137
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
2138
+ * `tagManagerVariables`. `null` for every other collection.
2139
+ */
1083
2140
  tagManagerId?: string | null;
1084
2141
  }
1085
2142
 
@@ -1093,20 +2150,54 @@ export namespace VersionDiffResponse {
1093
2150
  export interface New {
1094
2151
  id: string;
1095
2152
 
2153
+ /**
2154
+ * Human-readable label for the entity at the snapshot it was captured in. For most
2155
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
2156
+ * computed summary of the event's key fields. Two `modified` items can therefore
2157
+ * have identical `old.name` and `new.name` even though their underlying records
2158
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
2159
+ * fetch full detail.
2160
+ */
1096
2161
  name?: string | null;
1097
2162
 
2163
+ /**
2164
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
2165
+ * modifications when the only change is priority reordering — this lets clients
2166
+ * de-emphasize them in change-review UI. `null` for every other diff item.
2167
+ */
1098
2168
  summary?: string | null;
1099
2169
 
2170
+ /**
2171
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
2172
+ * `tagManagerVariables`. `null` for every other collection.
2173
+ */
1100
2174
  tagManagerId?: string | null;
1101
2175
  }
1102
2176
 
1103
2177
  export interface Old {
1104
2178
  id: string;
1105
2179
 
2180
+ /**
2181
+ * Human-readable label for the entity at the snapshot it was captured in. For most
2182
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
2183
+ * computed summary of the event's key fields. Two `modified` items can therefore
2184
+ * have identical `old.name` and `new.name` even though their underlying records
2185
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
2186
+ * fetch full detail.
2187
+ */
1106
2188
  name?: string | null;
1107
2189
 
2190
+ /**
2191
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
2192
+ * modifications when the only change is priority reordering — this lets clients
2193
+ * de-emphasize them in change-review UI. `null` for every other diff item.
2194
+ */
1108
2195
  summary?: string | null;
1109
2196
 
2197
+ /**
2198
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
2199
+ * `tagManagerVariables`. `null` for every other collection.
2200
+ */
1110
2201
  tagManagerId?: string | null;
1111
2202
  }
1112
2203
  }
@@ -1114,10 +2205,27 @@ export namespace VersionDiffResponse {
1114
2205
  export interface Removed {
1115
2206
  id: string;
1116
2207
 
2208
+ /**
2209
+ * Human-readable label for the entity at the snapshot it was captured in. For most
2210
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
2211
+ * computed summary of the event's key fields. Two `modified` items can therefore
2212
+ * have identical `old.name` and `new.name` even though their underlying records
2213
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
2214
+ * fetch full detail.
2215
+ */
1117
2216
  name?: string | null;
1118
2217
 
2218
+ /**
2219
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
2220
+ * modifications when the only change is priority reordering — this lets clients
2221
+ * de-emphasize them in change-review UI. `null` for every other diff item.
2222
+ */
1119
2223
  summary?: string | null;
1120
2224
 
2225
+ /**
2226
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
2227
+ * `tagManagerVariables`. `null` for every other collection.
2228
+ */
1121
2229
  tagManagerId?: string | null;
1122
2230
  }
1123
2231
  }
@@ -1125,6 +2233,11 @@ export namespace VersionDiffResponse {
1125
2233
  export interface TagManagerVariables {
1126
2234
  added: Array<TagManagerVariables.Added>;
1127
2235
 
2236
+ /**
2237
+ * Entities present in both snapshots but with at least one field changed. `old` is
2238
+ * the snapshot of the entity in the baseline (latest published); `new` is the
2239
+ * snapshot in the comparison target (the draft).
2240
+ */
1128
2241
  modified: Array<TagManagerVariables.Modified>;
1129
2242
 
1130
2243
  removed: Array<TagManagerVariables.Removed>;
@@ -1134,10 +2247,27 @@ export namespace VersionDiffResponse {
1134
2247
  export interface Added {
1135
2248
  id: string;
1136
2249
 
2250
+ /**
2251
+ * Human-readable label for the entity at the snapshot it was captured in. For most
2252
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
2253
+ * computed summary of the event's key fields. Two `modified` items can therefore
2254
+ * have identical `old.name` and `new.name` even though their underlying records
2255
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
2256
+ * fetch full detail.
2257
+ */
1137
2258
  name?: string | null;
1138
2259
 
2260
+ /**
2261
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
2262
+ * modifications when the only change is priority reordering — this lets clients
2263
+ * de-emphasize them in change-review UI. `null` for every other diff item.
2264
+ */
1139
2265
  summary?: string | null;
1140
2266
 
2267
+ /**
2268
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
2269
+ * `tagManagerVariables`. `null` for every other collection.
2270
+ */
1141
2271
  tagManagerId?: string | null;
1142
2272
  }
1143
2273
 
@@ -1151,20 +2281,54 @@ export namespace VersionDiffResponse {
1151
2281
  export interface New {
1152
2282
  id: string;
1153
2283
 
2284
+ /**
2285
+ * Human-readable label for the entity at the snapshot it was captured in. For most
2286
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
2287
+ * computed summary of the event's key fields. Two `modified` items can therefore
2288
+ * have identical `old.name` and `new.name` even though their underlying records
2289
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
2290
+ * fetch full detail.
2291
+ */
1154
2292
  name?: string | null;
1155
2293
 
2294
+ /**
2295
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
2296
+ * modifications when the only change is priority reordering — this lets clients
2297
+ * de-emphasize them in change-review UI. `null` for every other diff item.
2298
+ */
1156
2299
  summary?: string | null;
1157
2300
 
2301
+ /**
2302
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
2303
+ * `tagManagerVariables`. `null` for every other collection.
2304
+ */
1158
2305
  tagManagerId?: string | null;
1159
2306
  }
1160
2307
 
1161
2308
  export interface Old {
1162
2309
  id: string;
1163
2310
 
2311
+ /**
2312
+ * Human-readable label for the entity at the snapshot it was captured in. For most
2313
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
2314
+ * computed summary of the event's key fields. Two `modified` items can therefore
2315
+ * have identical `old.name` and `new.name` even though their underlying records
2316
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
2317
+ * fetch full detail.
2318
+ */
1164
2319
  name?: string | null;
1165
2320
 
2321
+ /**
2322
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
2323
+ * modifications when the only change is priority reordering — this lets clients
2324
+ * de-emphasize them in change-review UI. `null` for every other diff item.
2325
+ */
1166
2326
  summary?: string | null;
1167
2327
 
2328
+ /**
2329
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
2330
+ * `tagManagerVariables`. `null` for every other collection.
2331
+ */
1168
2332
  tagManagerId?: string | null;
1169
2333
  }
1170
2334
  }
@@ -1172,10 +2336,27 @@ export namespace VersionDiffResponse {
1172
2336
  export interface Removed {
1173
2337
  id: string;
1174
2338
 
2339
+ /**
2340
+ * Human-readable label for the entity at the snapshot it was captured in. For most
2341
+ * collections this is the entity's `name` field; for `allowedEvents` it is a
2342
+ * computed summary of the event's key fields. Two `modified` items can therefore
2343
+ * have identical `old.name` and `new.name` even though their underlying records
2344
+ * differ — the change is in fields not surfaced by the summary. Use the `id` to
2345
+ * fetch full detail.
2346
+ */
1175
2347
  name?: string | null;
1176
2348
 
2349
+ /**
2350
+ * Optional change-classifier. Currently set to `'Reordered'` on `mappings`
2351
+ * modifications when the only change is priority reordering — this lets clients
2352
+ * de-emphasize them in change-review UI. `null` for every other diff item.
2353
+ */
1177
2354
  summary?: string | null;
1178
2355
 
2356
+ /**
2357
+ * Parent tag-manager id for `tagManagerTags`, `tagManagerTriggers`, and
2358
+ * `tagManagerVariables`. `null` for every other collection.
2359
+ */
1179
2360
  tagManagerId?: string | null;
1180
2361
  }
1181
2362
  }
@@ -1200,26 +2381,100 @@ export interface VersionListParams extends CursorParams {
1200
2381
  }
1201
2382
 
1202
2383
  export interface VersionCreateParams {
2384
+ /**
2385
+ * Cherry-pick: allowed event ids (slug-like strings) to include from the draft.
2386
+ * Omit or send `[]` to include all draft changes in this collection.
2387
+ */
1203
2388
  includeAllowedEvents?: Array<string> | null;
1204
2389
 
2390
+ /**
2391
+ * Cherry-pick: consent settings ids to include from the draft. Omit or send `[]`
2392
+ * to include all draft changes in this collection.
2393
+ */
1205
2394
  includeConsentSettings?: Array<string> | null;
1206
2395
 
2396
+ /**
2397
+ * Cherry-pick: data governance event UUIDs to include from the draft. Omit or send
2398
+ * `[]` to include all draft changes in this collection.
2399
+ */
2400
+ includeDataGovernanceEvents?: Array<string> | null;
2401
+
2402
+ /**
2403
+ * Cherry-pick: data governance rule UUIDs to include from the draft. Omit or send
2404
+ * `[]` to include all draft changes in this collection.
2405
+ */
2406
+ includeDataGovernanceRules?: Array<string> | null;
2407
+
2408
+ /**
2409
+ * Cherry-pick: destination UUIDs to include from the draft. Omit or send `[]` to
2410
+ * include all draft changes in this collection.
2411
+ */
1207
2412
  includeDestinations?: Array<string> | null;
1208
2413
 
2414
+ /**
2415
+ * Cherry-pick: experiment UUIDs to include from the draft. Omit or send `[]` to
2416
+ * include all draft changes in this collection.
2417
+ */
2418
+ includeExperiments?: Array<string> | null;
2419
+
2420
+ /**
2421
+ * Cherry-pick: experiment settings UUIDs to include from the draft. Omit or send
2422
+ * `[]` to include all draft changes in this collection.
2423
+ */
2424
+ includeExperimentSettings?: Array<string> | null;
2425
+
2426
+ /**
2427
+ * Cherry-pick: experiment variant UUIDs to include from the draft. Omit or send
2428
+ * `[]` to include all draft changes in this collection.
2429
+ */
2430
+ includeExperimentVariants?: Array<string> | null;
2431
+
2432
+ /**
2433
+ * Cherry-pick: external allowed event data ids to include from the draft. Omit or
2434
+ * send `[]` to include all draft changes in this collection.
2435
+ */
1209
2436
  includeExternalAllowedEventData?: Array<string> | null;
1210
2437
 
2438
+ /**
2439
+ * Cherry-pick: global dispatch center ids to include from the draft. Omit or send
2440
+ * `[]` to include all draft changes in this collection.
2441
+ */
1211
2442
  includeGlobalDispatchCenters?: Array<string> | null;
1212
2443
 
2444
+ /**
2445
+ * Cherry-pick: mapping ids to include from the draft. Omit or send `[]` to include
2446
+ * all draft changes in this collection.
2447
+ */
1213
2448
  includeMappings?: Array<string> | null;
1214
2449
 
2450
+ /**
2451
+ * Cherry-pick: replay settings ids to include from the draft. Omit or send `[]` to
2452
+ * include all draft changes in this collection.
2453
+ */
1215
2454
  includeReplaySettings?: Array<string> | null;
1216
2455
 
2456
+ /**
2457
+ * Cherry-pick: source UUIDs to include from the draft. Omit or send `[]` to
2458
+ * include all draft changes in this collection.
2459
+ */
1217
2460
  includeSources?: Array<string> | null;
1218
2461
 
2462
+ /**
2463
+ * Cherry-pick: tag manager tag UUIDs to include from the draft. Omit or send `[]`
2464
+ * to include all draft changes in this collection.
2465
+ */
1219
2466
  includeTagManagerTags?: Array<string> | null;
1220
2467
 
2468
+ /**
2469
+ * Cherry-pick: tag manager trigger UUIDs to include from the draft. Omit or send
2470
+ * `[]` to include all draft changes in this collection.
2471
+ */
1221
2472
  includeTagManagerTriggers?: Array<string> | null;
1222
2473
 
2474
+ /**
2475
+ * Cherry-pick: tag manager variable UUIDs to include from the draft. Omit or send
2476
+ * `[]` to include all draft changes in this collection.
2477
+ */
1223
2478
  includeTagManagerVariables?: Array<string> | null;
1224
2479
 
1225
2480
  name?: string | null;
@@ -1233,6 +2488,14 @@ export interface VersionUpdateParams {
1233
2488
  notes?: string | null;
1234
2489
  }
1235
2490
 
2491
+ export interface VersionDiffParams {
2492
+ /**
2493
+ * Baseline version id to compare the path version against. Omit for the latest
2494
+ * published version. Pass a version UUID to compute a version-vs-version diff.
2495
+ */
2496
+ against?: string;
2497
+ }
2498
+
1236
2499
  export declare namespace Versions {
1237
2500
  export {
1238
2501
  type VersionListResponse as VersionListResponse,
@@ -1246,5 +2509,6 @@ export declare namespace Versions {
1246
2509
  type VersionListParams as VersionListParams,
1247
2510
  type VersionCreateParams as VersionCreateParams,
1248
2511
  type VersionUpdateParams as VersionUpdateParams,
2512
+ type VersionDiffParams as VersionDiffParams,
1249
2513
  };
1250
2514
  }