@superdoc/sdk 2.16.0-next.1 → 2.16.0-next.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/client.cjs +2 -0
- package/dist/generated/client.d.ts +838 -11
- package/dist/generated/client.js +2 -0
- package/dist/generated/contract.cjs +1 -1
- package/dist/generated/contract.js +1 -1
- package/dist/runtime/sdk-version.generated.cjs +1 -1
- package/dist/runtime/sdk-version.generated.d.ts +1 -1
- package/dist/runtime/sdk-version.generated.js +1 -1
- package/package.json +6 -6
- package/tools/tools-policy.json +1 -1
|
@@ -19562,6 +19562,238 @@ export interface DocSelectionCurrentParams {
|
|
|
19562
19562
|
sessionId?: string;
|
|
19563
19563
|
includeText?: boolean;
|
|
19564
19564
|
}
|
|
19565
|
+
export interface DocSelectionExtractOoxmlParams {
|
|
19566
|
+
doc?: string;
|
|
19567
|
+
sessionId?: string;
|
|
19568
|
+
at?: ({
|
|
19569
|
+
kind: "selection";
|
|
19570
|
+
start: ({
|
|
19571
|
+
kind: "text";
|
|
19572
|
+
blockId: string;
|
|
19573
|
+
offset: number;
|
|
19574
|
+
story?: ({
|
|
19575
|
+
kind: "story";
|
|
19576
|
+
storyType: "body";
|
|
19577
|
+
}) | ({
|
|
19578
|
+
kind: "story";
|
|
19579
|
+
storyType: "headerFooterSlot";
|
|
19580
|
+
section: {
|
|
19581
|
+
kind: "section";
|
|
19582
|
+
sectionId: string;
|
|
19583
|
+
};
|
|
19584
|
+
headerFooterKind: "header" | "footer";
|
|
19585
|
+
variant: "default" | "first" | "even";
|
|
19586
|
+
resolution?: "effective" | "explicit";
|
|
19587
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
19588
|
+
}) | ({
|
|
19589
|
+
kind: "story";
|
|
19590
|
+
storyType: "headerFooterPart";
|
|
19591
|
+
refId: string;
|
|
19592
|
+
}) | ({
|
|
19593
|
+
kind: "story";
|
|
19594
|
+
storyType: "footnote";
|
|
19595
|
+
noteId: string;
|
|
19596
|
+
}) | ({
|
|
19597
|
+
kind: "story";
|
|
19598
|
+
storyType: "endnote";
|
|
19599
|
+
noteId: string;
|
|
19600
|
+
}) | ({
|
|
19601
|
+
kind: "story";
|
|
19602
|
+
storyType: "textbox";
|
|
19603
|
+
textboxId: string;
|
|
19604
|
+
});
|
|
19605
|
+
}) | ({
|
|
19606
|
+
kind: "nodeEdge";
|
|
19607
|
+
node: {
|
|
19608
|
+
kind: "block";
|
|
19609
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableOfContents" | "sdt" | "image";
|
|
19610
|
+
nodeId: string;
|
|
19611
|
+
story?: ({
|
|
19612
|
+
kind: "story";
|
|
19613
|
+
storyType: "body";
|
|
19614
|
+
}) | ({
|
|
19615
|
+
kind: "story";
|
|
19616
|
+
storyType: "headerFooterSlot";
|
|
19617
|
+
section: {
|
|
19618
|
+
kind: "section";
|
|
19619
|
+
sectionId: string;
|
|
19620
|
+
};
|
|
19621
|
+
headerFooterKind: "header" | "footer";
|
|
19622
|
+
variant: "default" | "first" | "even";
|
|
19623
|
+
resolution?: "effective" | "explicit";
|
|
19624
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
19625
|
+
}) | ({
|
|
19626
|
+
kind: "story";
|
|
19627
|
+
storyType: "headerFooterPart";
|
|
19628
|
+
refId: string;
|
|
19629
|
+
}) | ({
|
|
19630
|
+
kind: "story";
|
|
19631
|
+
storyType: "footnote";
|
|
19632
|
+
noteId: string;
|
|
19633
|
+
}) | ({
|
|
19634
|
+
kind: "story";
|
|
19635
|
+
storyType: "endnote";
|
|
19636
|
+
noteId: string;
|
|
19637
|
+
}) | ({
|
|
19638
|
+
kind: "story";
|
|
19639
|
+
storyType: "textbox";
|
|
19640
|
+
textboxId: string;
|
|
19641
|
+
});
|
|
19642
|
+
};
|
|
19643
|
+
edge: "before" | "after";
|
|
19644
|
+
});
|
|
19645
|
+
end: ({
|
|
19646
|
+
kind: "text";
|
|
19647
|
+
blockId: string;
|
|
19648
|
+
offset: number;
|
|
19649
|
+
story?: ({
|
|
19650
|
+
kind: "story";
|
|
19651
|
+
storyType: "body";
|
|
19652
|
+
}) | ({
|
|
19653
|
+
kind: "story";
|
|
19654
|
+
storyType: "headerFooterSlot";
|
|
19655
|
+
section: {
|
|
19656
|
+
kind: "section";
|
|
19657
|
+
sectionId: string;
|
|
19658
|
+
};
|
|
19659
|
+
headerFooterKind: "header" | "footer";
|
|
19660
|
+
variant: "default" | "first" | "even";
|
|
19661
|
+
resolution?: "effective" | "explicit";
|
|
19662
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
19663
|
+
}) | ({
|
|
19664
|
+
kind: "story";
|
|
19665
|
+
storyType: "headerFooterPart";
|
|
19666
|
+
refId: string;
|
|
19667
|
+
}) | ({
|
|
19668
|
+
kind: "story";
|
|
19669
|
+
storyType: "footnote";
|
|
19670
|
+
noteId: string;
|
|
19671
|
+
}) | ({
|
|
19672
|
+
kind: "story";
|
|
19673
|
+
storyType: "endnote";
|
|
19674
|
+
noteId: string;
|
|
19675
|
+
}) | ({
|
|
19676
|
+
kind: "story";
|
|
19677
|
+
storyType: "textbox";
|
|
19678
|
+
textboxId: string;
|
|
19679
|
+
});
|
|
19680
|
+
}) | ({
|
|
19681
|
+
kind: "nodeEdge";
|
|
19682
|
+
node: {
|
|
19683
|
+
kind: "block";
|
|
19684
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableOfContents" | "sdt" | "image";
|
|
19685
|
+
nodeId: string;
|
|
19686
|
+
story?: ({
|
|
19687
|
+
kind: "story";
|
|
19688
|
+
storyType: "body";
|
|
19689
|
+
}) | ({
|
|
19690
|
+
kind: "story";
|
|
19691
|
+
storyType: "headerFooterSlot";
|
|
19692
|
+
section: {
|
|
19693
|
+
kind: "section";
|
|
19694
|
+
sectionId: string;
|
|
19695
|
+
};
|
|
19696
|
+
headerFooterKind: "header" | "footer";
|
|
19697
|
+
variant: "default" | "first" | "even";
|
|
19698
|
+
resolution?: "effective" | "explicit";
|
|
19699
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
19700
|
+
}) | ({
|
|
19701
|
+
kind: "story";
|
|
19702
|
+
storyType: "headerFooterPart";
|
|
19703
|
+
refId: string;
|
|
19704
|
+
}) | ({
|
|
19705
|
+
kind: "story";
|
|
19706
|
+
storyType: "footnote";
|
|
19707
|
+
noteId: string;
|
|
19708
|
+
}) | ({
|
|
19709
|
+
kind: "story";
|
|
19710
|
+
storyType: "endnote";
|
|
19711
|
+
noteId: string;
|
|
19712
|
+
}) | ({
|
|
19713
|
+
kind: "story";
|
|
19714
|
+
storyType: "textbox";
|
|
19715
|
+
textboxId: string;
|
|
19716
|
+
});
|
|
19717
|
+
};
|
|
19718
|
+
edge: "before" | "after";
|
|
19719
|
+
});
|
|
19720
|
+
story?: ({
|
|
19721
|
+
kind: "story";
|
|
19722
|
+
storyType: "body";
|
|
19723
|
+
}) | ({
|
|
19724
|
+
kind: "story";
|
|
19725
|
+
storyType: "headerFooterSlot";
|
|
19726
|
+
section: {
|
|
19727
|
+
kind: "section";
|
|
19728
|
+
sectionId: string;
|
|
19729
|
+
};
|
|
19730
|
+
headerFooterKind: "header" | "footer";
|
|
19731
|
+
variant: "default" | "first" | "even";
|
|
19732
|
+
resolution?: "effective" | "explicit";
|
|
19733
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
19734
|
+
}) | ({
|
|
19735
|
+
kind: "story";
|
|
19736
|
+
storyType: "headerFooterPart";
|
|
19737
|
+
refId: string;
|
|
19738
|
+
}) | ({
|
|
19739
|
+
kind: "story";
|
|
19740
|
+
storyType: "footnote";
|
|
19741
|
+
noteId: string;
|
|
19742
|
+
}) | ({
|
|
19743
|
+
kind: "story";
|
|
19744
|
+
storyType: "endnote";
|
|
19745
|
+
noteId: string;
|
|
19746
|
+
}) | ({
|
|
19747
|
+
kind: "story";
|
|
19748
|
+
storyType: "textbox";
|
|
19749
|
+
textboxId: string;
|
|
19750
|
+
});
|
|
19751
|
+
coordinateSpace?: "visible" | "tracked";
|
|
19752
|
+
}) | ({
|
|
19753
|
+
kind: "tableCells";
|
|
19754
|
+
tableId: string;
|
|
19755
|
+
start: {
|
|
19756
|
+
rowIndex: number;
|
|
19757
|
+
columnIndex: number;
|
|
19758
|
+
};
|
|
19759
|
+
end: {
|
|
19760
|
+
rowIndex: number;
|
|
19761
|
+
columnIndex: number;
|
|
19762
|
+
};
|
|
19763
|
+
story?: ({
|
|
19764
|
+
kind: "story";
|
|
19765
|
+
storyType: "body";
|
|
19766
|
+
}) | ({
|
|
19767
|
+
kind: "story";
|
|
19768
|
+
storyType: "headerFooterSlot";
|
|
19769
|
+
section: {
|
|
19770
|
+
kind: "section";
|
|
19771
|
+
sectionId: string;
|
|
19772
|
+
};
|
|
19773
|
+
headerFooterKind: "header" | "footer";
|
|
19774
|
+
variant: "default" | "first" | "even";
|
|
19775
|
+
resolution?: "effective" | "explicit";
|
|
19776
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
19777
|
+
}) | ({
|
|
19778
|
+
kind: "story";
|
|
19779
|
+
storyType: "headerFooterPart";
|
|
19780
|
+
refId: string;
|
|
19781
|
+
}) | ({
|
|
19782
|
+
kind: "story";
|
|
19783
|
+
storyType: "footnote";
|
|
19784
|
+
noteId: string;
|
|
19785
|
+
}) | ({
|
|
19786
|
+
kind: "story";
|
|
19787
|
+
storyType: "endnote";
|
|
19788
|
+
noteId: string;
|
|
19789
|
+
}) | ({
|
|
19790
|
+
kind: "story";
|
|
19791
|
+
storyType: "textbox";
|
|
19792
|
+
textboxId: string;
|
|
19793
|
+
});
|
|
19794
|
+
});
|
|
19795
|
+
selection?: "current";
|
|
19796
|
+
}
|
|
19565
19797
|
export interface DocMutationsPreviewParams {
|
|
19566
19798
|
doc?: string;
|
|
19567
19799
|
sessionId?: string;
|
|
@@ -30630,7 +30862,7 @@ export interface DocDiffApplyParams {
|
|
|
30630
30862
|
direct: {
|
|
30631
30863
|
status: "candidate" | "blocked";
|
|
30632
30864
|
blockers: Array<{
|
|
30633
|
-
code: "family-apply-lane-unavailable" | "header-footer-physical-lifecycle-unsafe" | "header-footer-tracked-lifecycle-unsupported" | "comment-replay-unsafe" | "comment-anchor-marker-semantics-unsafe" | "styles-replay-unsafe" | "numbering-replay-unsafe" | "definition-replay-tracked-unsupported" | "section-reference-replay-unsafe" | "structural-paragraph-unsupported";
|
|
30865
|
+
code: "family-apply-lane-unavailable" | "header-footer-physical-lifecycle-unsafe" | "header-footer-tracked-lifecycle-unsupported" | "comment-replay-unsafe" | "comment-anchor-marker-semantics-unsafe" | "styles-replay-unsafe" | "numbering-replay-unsafe" | "definition-replay-tracked-unsupported" | "package-graph-tracked-unsupported" | "section-reference-replay-unsafe" | "structural-paragraph-unsupported";
|
|
30634
30866
|
message: string;
|
|
30635
30867
|
families?: Array<string>;
|
|
30636
30868
|
}>;
|
|
@@ -30638,12 +30870,18 @@ export interface DocDiffApplyParams {
|
|
|
30638
30870
|
tracked: {
|
|
30639
30871
|
status: "candidate" | "blocked";
|
|
30640
30872
|
blockers: Array<{
|
|
30641
|
-
code: "family-apply-lane-unavailable" | "header-footer-physical-lifecycle-unsafe" | "header-footer-tracked-lifecycle-unsupported" | "comment-replay-unsafe" | "comment-anchor-marker-semantics-unsafe" | "styles-replay-unsafe" | "numbering-replay-unsafe" | "definition-replay-tracked-unsupported" | "section-reference-replay-unsafe" | "structural-paragraph-unsupported";
|
|
30873
|
+
code: "family-apply-lane-unavailable" | "header-footer-physical-lifecycle-unsafe" | "header-footer-tracked-lifecycle-unsupported" | "comment-replay-unsafe" | "comment-anchor-marker-semantics-unsafe" | "styles-replay-unsafe" | "numbering-replay-unsafe" | "definition-replay-tracked-unsupported" | "package-graph-tracked-unsupported" | "section-reference-replay-unsafe" | "structural-paragraph-unsupported";
|
|
30642
30874
|
message: string;
|
|
30643
30875
|
families?: Array<string>;
|
|
30644
30876
|
}>;
|
|
30645
30877
|
};
|
|
30646
30878
|
};
|
|
30879
|
+
partChanges?: Array<{
|
|
30880
|
+
partUri: string;
|
|
30881
|
+
kind: "added" | "removed" | "modified";
|
|
30882
|
+
beforeFingerprint: unknown;
|
|
30883
|
+
afterFingerprint: unknown;
|
|
30884
|
+
}>;
|
|
30647
30885
|
payload: Record<string, unknown>;
|
|
30648
30886
|
};
|
|
30649
30887
|
}
|
|
@@ -100823,8 +101061,9 @@ export type DocTrackChangesListResult = {
|
|
|
100823
101061
|
format?: string;
|
|
100824
101062
|
};
|
|
100825
101063
|
revisionGroupId?: string;
|
|
100826
|
-
reviewGroup?: {
|
|
101064
|
+
reviewGroup?: ({
|
|
100827
101065
|
kind: "text-rewrite";
|
|
101066
|
+
groupOrigin: "authored-operation";
|
|
100828
101067
|
role: "parent" | "child";
|
|
100829
101068
|
parentId?: string;
|
|
100830
101069
|
childChangeIds: Array<string>;
|
|
@@ -100839,7 +101078,24 @@ export type DocTrackChangesListResult = {
|
|
|
100839
101078
|
rsids?: Array<string>;
|
|
100840
101079
|
};
|
|
100841
101080
|
}>;
|
|
100842
|
-
}
|
|
101081
|
+
}) | ({
|
|
101082
|
+
kind: "comparison-hunk";
|
|
101083
|
+
groupOrigin: "comparison-hunk";
|
|
101084
|
+
role: "parent" | "child";
|
|
101085
|
+
parentId?: string;
|
|
101086
|
+
childChangeIds: Array<string>;
|
|
101087
|
+
members: Array<{
|
|
101088
|
+
id: string;
|
|
101089
|
+
type: "insertion" | "deletion" | "replacement" | "formatting" | "move" | "structural" | "insert" | "delete" | "format";
|
|
101090
|
+
subtype: string;
|
|
101091
|
+
sourceIds: {
|
|
101092
|
+
wordIdInsert?: string;
|
|
101093
|
+
wordIdDelete?: string;
|
|
101094
|
+
wordIdOther?: Array<string>;
|
|
101095
|
+
rsids?: Array<string>;
|
|
101096
|
+
};
|
|
101097
|
+
}>;
|
|
101098
|
+
});
|
|
100843
101099
|
author?: string;
|
|
100844
101100
|
authorEmail?: string;
|
|
100845
101101
|
authorImage?: string;
|
|
@@ -101129,8 +101385,9 @@ export type DocTrackChangesGetResult = {
|
|
|
101129
101385
|
format?: string;
|
|
101130
101386
|
};
|
|
101131
101387
|
revisionGroupId?: string;
|
|
101132
|
-
reviewGroup?: {
|
|
101388
|
+
reviewGroup?: ({
|
|
101133
101389
|
kind: "text-rewrite";
|
|
101390
|
+
groupOrigin: "authored-operation";
|
|
101134
101391
|
role: "parent" | "child";
|
|
101135
101392
|
parentId?: string;
|
|
101136
101393
|
childChangeIds: Array<string>;
|
|
@@ -101145,7 +101402,24 @@ export type DocTrackChangesGetResult = {
|
|
|
101145
101402
|
rsids?: Array<string>;
|
|
101146
101403
|
};
|
|
101147
101404
|
}>;
|
|
101148
|
-
}
|
|
101405
|
+
}) | ({
|
|
101406
|
+
kind: "comparison-hunk";
|
|
101407
|
+
groupOrigin: "comparison-hunk";
|
|
101408
|
+
role: "parent" | "child";
|
|
101409
|
+
parentId?: string;
|
|
101410
|
+
childChangeIds: Array<string>;
|
|
101411
|
+
members: Array<{
|
|
101412
|
+
id: string;
|
|
101413
|
+
type: "insertion" | "deletion" | "replacement" | "formatting" | "move" | "structural" | "insert" | "delete" | "format";
|
|
101414
|
+
subtype: string;
|
|
101415
|
+
sourceIds: {
|
|
101416
|
+
wordIdInsert?: string;
|
|
101417
|
+
wordIdDelete?: string;
|
|
101418
|
+
wordIdOther?: Array<string>;
|
|
101419
|
+
rsids?: Array<string>;
|
|
101420
|
+
};
|
|
101421
|
+
}>;
|
|
101422
|
+
});
|
|
101149
101423
|
splitFromId?: string | null;
|
|
101150
101424
|
replacement?: {
|
|
101151
101425
|
inserted: ({
|
|
@@ -103176,6 +103450,309 @@ export type DocSelectionCurrentResult = {
|
|
|
103176
103450
|
activeChangeIds: Array<string>;
|
|
103177
103451
|
text?: string;
|
|
103178
103452
|
};
|
|
103453
|
+
export type DocSelectionExtractOoxmlResult = {
|
|
103454
|
+
formatVersion: 1;
|
|
103455
|
+
at: ({
|
|
103456
|
+
kind: "selection";
|
|
103457
|
+
start: ({
|
|
103458
|
+
kind: "text";
|
|
103459
|
+
blockId: string;
|
|
103460
|
+
offset: number;
|
|
103461
|
+
story?: ({
|
|
103462
|
+
kind: "story";
|
|
103463
|
+
storyType: "body";
|
|
103464
|
+
}) | ({
|
|
103465
|
+
kind: "story";
|
|
103466
|
+
storyType: "headerFooterSlot";
|
|
103467
|
+
section: {
|
|
103468
|
+
kind: "section";
|
|
103469
|
+
sectionId: string;
|
|
103470
|
+
};
|
|
103471
|
+
headerFooterKind: "header" | "footer";
|
|
103472
|
+
variant: "default" | "first" | "even";
|
|
103473
|
+
resolution?: "effective" | "explicit";
|
|
103474
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
103475
|
+
}) | ({
|
|
103476
|
+
kind: "story";
|
|
103477
|
+
storyType: "headerFooterPart";
|
|
103478
|
+
refId: string;
|
|
103479
|
+
}) | ({
|
|
103480
|
+
kind: "story";
|
|
103481
|
+
storyType: "footnote";
|
|
103482
|
+
noteId: string;
|
|
103483
|
+
}) | ({
|
|
103484
|
+
kind: "story";
|
|
103485
|
+
storyType: "endnote";
|
|
103486
|
+
noteId: string;
|
|
103487
|
+
}) | ({
|
|
103488
|
+
kind: "story";
|
|
103489
|
+
storyType: "textbox";
|
|
103490
|
+
textboxId: string;
|
|
103491
|
+
});
|
|
103492
|
+
}) | ({
|
|
103493
|
+
kind: "nodeEdge";
|
|
103494
|
+
node: {
|
|
103495
|
+
kind: "block";
|
|
103496
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableOfContents" | "sdt" | "image";
|
|
103497
|
+
nodeId: string;
|
|
103498
|
+
story?: ({
|
|
103499
|
+
kind: "story";
|
|
103500
|
+
storyType: "body";
|
|
103501
|
+
}) | ({
|
|
103502
|
+
kind: "story";
|
|
103503
|
+
storyType: "headerFooterSlot";
|
|
103504
|
+
section: {
|
|
103505
|
+
kind: "section";
|
|
103506
|
+
sectionId: string;
|
|
103507
|
+
};
|
|
103508
|
+
headerFooterKind: "header" | "footer";
|
|
103509
|
+
variant: "default" | "first" | "even";
|
|
103510
|
+
resolution?: "effective" | "explicit";
|
|
103511
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
103512
|
+
}) | ({
|
|
103513
|
+
kind: "story";
|
|
103514
|
+
storyType: "headerFooterPart";
|
|
103515
|
+
refId: string;
|
|
103516
|
+
}) | ({
|
|
103517
|
+
kind: "story";
|
|
103518
|
+
storyType: "footnote";
|
|
103519
|
+
noteId: string;
|
|
103520
|
+
}) | ({
|
|
103521
|
+
kind: "story";
|
|
103522
|
+
storyType: "endnote";
|
|
103523
|
+
noteId: string;
|
|
103524
|
+
}) | ({
|
|
103525
|
+
kind: "story";
|
|
103526
|
+
storyType: "textbox";
|
|
103527
|
+
textboxId: string;
|
|
103528
|
+
});
|
|
103529
|
+
};
|
|
103530
|
+
edge: "before" | "after";
|
|
103531
|
+
});
|
|
103532
|
+
end: ({
|
|
103533
|
+
kind: "text";
|
|
103534
|
+
blockId: string;
|
|
103535
|
+
offset: number;
|
|
103536
|
+
story?: ({
|
|
103537
|
+
kind: "story";
|
|
103538
|
+
storyType: "body";
|
|
103539
|
+
}) | ({
|
|
103540
|
+
kind: "story";
|
|
103541
|
+
storyType: "headerFooterSlot";
|
|
103542
|
+
section: {
|
|
103543
|
+
kind: "section";
|
|
103544
|
+
sectionId: string;
|
|
103545
|
+
};
|
|
103546
|
+
headerFooterKind: "header" | "footer";
|
|
103547
|
+
variant: "default" | "first" | "even";
|
|
103548
|
+
resolution?: "effective" | "explicit";
|
|
103549
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
103550
|
+
}) | ({
|
|
103551
|
+
kind: "story";
|
|
103552
|
+
storyType: "headerFooterPart";
|
|
103553
|
+
refId: string;
|
|
103554
|
+
}) | ({
|
|
103555
|
+
kind: "story";
|
|
103556
|
+
storyType: "footnote";
|
|
103557
|
+
noteId: string;
|
|
103558
|
+
}) | ({
|
|
103559
|
+
kind: "story";
|
|
103560
|
+
storyType: "endnote";
|
|
103561
|
+
noteId: string;
|
|
103562
|
+
}) | ({
|
|
103563
|
+
kind: "story";
|
|
103564
|
+
storyType: "textbox";
|
|
103565
|
+
textboxId: string;
|
|
103566
|
+
});
|
|
103567
|
+
}) | ({
|
|
103568
|
+
kind: "nodeEdge";
|
|
103569
|
+
node: {
|
|
103570
|
+
kind: "block";
|
|
103571
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableOfContents" | "sdt" | "image";
|
|
103572
|
+
nodeId: string;
|
|
103573
|
+
story?: ({
|
|
103574
|
+
kind: "story";
|
|
103575
|
+
storyType: "body";
|
|
103576
|
+
}) | ({
|
|
103577
|
+
kind: "story";
|
|
103578
|
+
storyType: "headerFooterSlot";
|
|
103579
|
+
section: {
|
|
103580
|
+
kind: "section";
|
|
103581
|
+
sectionId: string;
|
|
103582
|
+
};
|
|
103583
|
+
headerFooterKind: "header" | "footer";
|
|
103584
|
+
variant: "default" | "first" | "even";
|
|
103585
|
+
resolution?: "effective" | "explicit";
|
|
103586
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
103587
|
+
}) | ({
|
|
103588
|
+
kind: "story";
|
|
103589
|
+
storyType: "headerFooterPart";
|
|
103590
|
+
refId: string;
|
|
103591
|
+
}) | ({
|
|
103592
|
+
kind: "story";
|
|
103593
|
+
storyType: "footnote";
|
|
103594
|
+
noteId: string;
|
|
103595
|
+
}) | ({
|
|
103596
|
+
kind: "story";
|
|
103597
|
+
storyType: "endnote";
|
|
103598
|
+
noteId: string;
|
|
103599
|
+
}) | ({
|
|
103600
|
+
kind: "story";
|
|
103601
|
+
storyType: "textbox";
|
|
103602
|
+
textboxId: string;
|
|
103603
|
+
});
|
|
103604
|
+
};
|
|
103605
|
+
edge: "before" | "after";
|
|
103606
|
+
});
|
|
103607
|
+
story?: ({
|
|
103608
|
+
kind: "story";
|
|
103609
|
+
storyType: "body";
|
|
103610
|
+
}) | ({
|
|
103611
|
+
kind: "story";
|
|
103612
|
+
storyType: "headerFooterSlot";
|
|
103613
|
+
section: {
|
|
103614
|
+
kind: "section";
|
|
103615
|
+
sectionId: string;
|
|
103616
|
+
};
|
|
103617
|
+
headerFooterKind: "header" | "footer";
|
|
103618
|
+
variant: "default" | "first" | "even";
|
|
103619
|
+
resolution?: "effective" | "explicit";
|
|
103620
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
103621
|
+
}) | ({
|
|
103622
|
+
kind: "story";
|
|
103623
|
+
storyType: "headerFooterPart";
|
|
103624
|
+
refId: string;
|
|
103625
|
+
}) | ({
|
|
103626
|
+
kind: "story";
|
|
103627
|
+
storyType: "footnote";
|
|
103628
|
+
noteId: string;
|
|
103629
|
+
}) | ({
|
|
103630
|
+
kind: "story";
|
|
103631
|
+
storyType: "endnote";
|
|
103632
|
+
noteId: string;
|
|
103633
|
+
}) | ({
|
|
103634
|
+
kind: "story";
|
|
103635
|
+
storyType: "textbox";
|
|
103636
|
+
textboxId: string;
|
|
103637
|
+
});
|
|
103638
|
+
coordinateSpace?: "visible" | "tracked";
|
|
103639
|
+
}) | ({
|
|
103640
|
+
kind: "tableCells";
|
|
103641
|
+
tableId: string;
|
|
103642
|
+
start: {
|
|
103643
|
+
rowIndex: number;
|
|
103644
|
+
columnIndex: number;
|
|
103645
|
+
};
|
|
103646
|
+
end: {
|
|
103647
|
+
rowIndex: number;
|
|
103648
|
+
columnIndex: number;
|
|
103649
|
+
};
|
|
103650
|
+
story?: ({
|
|
103651
|
+
kind: "story";
|
|
103652
|
+
storyType: "body";
|
|
103653
|
+
}) | ({
|
|
103654
|
+
kind: "story";
|
|
103655
|
+
storyType: "headerFooterSlot";
|
|
103656
|
+
section: {
|
|
103657
|
+
kind: "section";
|
|
103658
|
+
sectionId: string;
|
|
103659
|
+
};
|
|
103660
|
+
headerFooterKind: "header" | "footer";
|
|
103661
|
+
variant: "default" | "first" | "even";
|
|
103662
|
+
resolution?: "effective" | "explicit";
|
|
103663
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
103664
|
+
}) | ({
|
|
103665
|
+
kind: "story";
|
|
103666
|
+
storyType: "headerFooterPart";
|
|
103667
|
+
refId: string;
|
|
103668
|
+
}) | ({
|
|
103669
|
+
kind: "story";
|
|
103670
|
+
storyType: "footnote";
|
|
103671
|
+
noteId: string;
|
|
103672
|
+
}) | ({
|
|
103673
|
+
kind: "story";
|
|
103674
|
+
storyType: "endnote";
|
|
103675
|
+
noteId: string;
|
|
103676
|
+
}) | ({
|
|
103677
|
+
kind: "story";
|
|
103678
|
+
storyType: "textbox";
|
|
103679
|
+
textboxId: string;
|
|
103680
|
+
});
|
|
103681
|
+
});
|
|
103682
|
+
evaluatedRevision: string;
|
|
103683
|
+
fragment: {
|
|
103684
|
+
placement: "inline" | "blocks" | "table";
|
|
103685
|
+
xml: string;
|
|
103686
|
+
namespaces: Record<string, unknown>;
|
|
103687
|
+
table?: {
|
|
103688
|
+
tableId: string;
|
|
103689
|
+
gridColumnCount: number;
|
|
103690
|
+
cells: Array<{
|
|
103691
|
+
rowIndex: number;
|
|
103692
|
+
columnIndex: number;
|
|
103693
|
+
gridSpan: number;
|
|
103694
|
+
vMerge: "none" | "restart" | "continue";
|
|
103695
|
+
}>;
|
|
103696
|
+
};
|
|
103697
|
+
};
|
|
103698
|
+
source: {
|
|
103699
|
+
story: (({
|
|
103700
|
+
kind: "story";
|
|
103701
|
+
storyType: "body";
|
|
103702
|
+
}) | ({
|
|
103703
|
+
kind: "story";
|
|
103704
|
+
storyType: "headerFooterSlot";
|
|
103705
|
+
section: {
|
|
103706
|
+
kind: "section";
|
|
103707
|
+
sectionId: string;
|
|
103708
|
+
};
|
|
103709
|
+
headerFooterKind: "header" | "footer";
|
|
103710
|
+
variant: "default" | "first" | "even";
|
|
103711
|
+
resolution?: "effective" | "explicit";
|
|
103712
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
103713
|
+
}) | ({
|
|
103714
|
+
kind: "story";
|
|
103715
|
+
storyType: "headerFooterPart";
|
|
103716
|
+
refId: string;
|
|
103717
|
+
}) | ({
|
|
103718
|
+
kind: "story";
|
|
103719
|
+
storyType: "footnote";
|
|
103720
|
+
noteId: string;
|
|
103721
|
+
}) | ({
|
|
103722
|
+
kind: "story";
|
|
103723
|
+
storyType: "endnote";
|
|
103724
|
+
noteId: string;
|
|
103725
|
+
}) | ({
|
|
103726
|
+
kind: "story";
|
|
103727
|
+
storyType: "textbox";
|
|
103728
|
+
textboxId: string;
|
|
103729
|
+
})) | null;
|
|
103730
|
+
partUri: string;
|
|
103731
|
+
paragraphStyleId: string | null;
|
|
103732
|
+
};
|
|
103733
|
+
context: {
|
|
103734
|
+
xml: Array<string>;
|
|
103735
|
+
tableMerges?: Array<{
|
|
103736
|
+
selectedRowIndex: number;
|
|
103737
|
+
columnIndex: number;
|
|
103738
|
+
restartRowIndex: number;
|
|
103739
|
+
restartCellPropertiesXml: string;
|
|
103740
|
+
}>;
|
|
103741
|
+
};
|
|
103742
|
+
dependencies: Array<{
|
|
103743
|
+
sourcePartUri: string;
|
|
103744
|
+
relationshipId: string;
|
|
103745
|
+
relationshipType: string;
|
|
103746
|
+
target: string;
|
|
103747
|
+
targetMode: "Internal" | "External";
|
|
103748
|
+
contentType: string | null;
|
|
103749
|
+
dataBase64?: string;
|
|
103750
|
+
}>;
|
|
103751
|
+
diagnostics: Array<{
|
|
103752
|
+
code: string;
|
|
103753
|
+
message: string;
|
|
103754
|
+
}>;
|
|
103755
|
+
};
|
|
103179
103756
|
export type DocMutationsPreviewResult = {
|
|
103180
103757
|
evaluatedRevision: string;
|
|
103181
103758
|
steps: Array<Record<string, unknown>>;
|
|
@@ -104679,6 +105256,12 @@ export type DocCapabilitiesGetResult = {
|
|
|
104679
105256
|
dryRun: boolean;
|
|
104680
105257
|
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE" | "TARGET_CONTEXT_REQUIRED" | "TARGET_UNSUPPORTED">;
|
|
104681
105258
|
};
|
|
105259
|
+
"selection.extractOoxml": {
|
|
105260
|
+
available: boolean;
|
|
105261
|
+
tracked: boolean;
|
|
105262
|
+
dryRun: boolean;
|
|
105263
|
+
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE" | "TARGET_CONTEXT_REQUIRED" | "TARGET_UNSUPPORTED">;
|
|
105264
|
+
};
|
|
104682
105265
|
"mutations.preview": {
|
|
104683
105266
|
available: boolean;
|
|
104684
105267
|
tracked: boolean;
|
|
@@ -108391,7 +108974,7 @@ export type DocCapabilitiesCheckResult = ({
|
|
|
108391
108974
|
};
|
|
108392
108975
|
});
|
|
108393
108976
|
export type DocCapabilitiesResolveResult = {
|
|
108394
|
-
operationId: "get" | "find" | "getNode" | "getNodeById" | "getText" | "getMarkdown" | "getHtml" | "projectMarkdown" | "projectHtml" | "markdownToFragment" | "htmlToFragment" | "info" | "extract" | "clearContent" | "insert" | "replace" | "delete" | "formatRange" | "blocks.findText" | "blocks.list" | "blocks.delete" | "blocks.deleteRange" | "blocks.split" | "blocks.merge" | "blocks.move" | "format.apply" | "format.bold" | "format.italic" | "format.strike" | "format.underline" | "format.highlight" | "format.color" | "format.fontSize" | "format.fontFamily" | "format.letterSpacing" | "format.vertAlign" | "format.position" | "format.dstrike" | "format.smallCaps" | "format.caps" | "format.shading" | "format.border" | "format.outline" | "format.shadow" | "format.emboss" | "format.imprint" | "format.charScale" | "format.kerning" | "format.vanish" | "format.webHidden" | "format.specVanish" | "format.rtl" | "format.cs" | "format.bCs" | "format.iCs" | "format.eastAsianLayout" | "format.em" | "format.fitText" | "format.snapToGrid" | "format.lang" | "format.oMath" | "format.rStyle" | "format.rFonts" | "format.fontSizeCs" | "format.ligatures" | "format.numForm" | "format.numSpacing" | "format.stylisticSets" | "format.contextualAlternates" | "styles.apply" | "styles.getCatalog" | "templates.apply" | "create.paragraph" | "create.heading" | "create.sectionBreak" | "sections.list" | "sections.get" | "sections.setBreakType" | "sections.setPageMargins" | "sections.setHeaderFooterMargins" | "sections.setPageSetup" | "sections.setColumns" | "sections.setLineNumbering" | "sections.setPageNumbering" | "sections.setTitlePage" | "sections.setOddEvenHeadersFooters" | "sections.setVerticalAlign" | "sections.setSectionDirection" | "sections.setHeaderFooterRef" | "sections.clearHeaderFooterRef" | "sections.setLinkToPrevious" | "sections.setPageBorders" | "sections.clearPageBorders" | "styles.paragraph.setStyle" | "styles.paragraph.setStyleRef" | "styles.paragraph.clearStyle" | "format.paragraph.resetDirectFormatting" | "format.paragraph.setAlignment" | "format.paragraph.clearAlignment" | "format.paragraph.setIndentation" | "format.paragraph.clearIndentation" | "format.paragraph.setSpacing" | "format.paragraph.clearSpacing" | "format.paragraph.setKeepOptions" | "format.paragraph.setOutlineLevel" | "format.paragraph.setFlowOptions" | "format.paragraph.setTabStop" | "format.paragraph.clearTabStop" | "format.paragraph.clearAllTabStops" | "format.paragraph.setBorder" | "format.paragraph.clearBorder" | "format.paragraph.setShading" | "format.paragraph.clearShading" | "format.paragraph.setMarkRunProps" | "format.paragraph.setDirection" | "format.paragraph.clearDirection" | "format.paragraph.setNumbering" | "lists.list" | "lists.get" | "lists.insert" | "lists.create" | "lists.attach" | "lists.detach" | "lists.delete" | "lists.indent" | "lists.outdent" | "lists.join" | "lists.canJoin" | "lists.separate" | "lists.merge" | "lists.split" | "lists.setLevel" | "lists.setValue" | "lists.continuePrevious" | "lists.canContinuePrevious" | "lists.setLevelRestart" | "lists.convertToText" | "lists.applyTemplate" | "lists.applyPreset" | "lists.setType" | "lists.captureTemplate" | "lists.setLevelNumbering" | "lists.setLevelBullet" | "lists.setLevelPictureBullet" | "lists.setLevelAlignment" | "lists.setLevelIndents" | "lists.setLevelTrailingCharacter" | "lists.setLevelMarkerFont" | "lists.clearLevelOverrides" | "lists.getStyle" | "lists.applyStyle" | "lists.restartAt" | "lists.setLevelNumberStyle" | "lists.setLevelText" | "lists.setLevelStart" | "lists.setLevelLayout" | "lists.getState" | "lists.apply" | "lists.continue" | "lists.restart" | "lists.remove" | "comments.create" | "comments.patch" | "comments.delete" | "comments.get" | "comments.list" | "trackChanges.list" | "trackChanges.get" | "trackChanges.decide" | "query.match" | "ranges.resolve" | "selection.current" | "mutations.preview" | "mutations.apply" | "plan.execute" | "capabilities.get" | "capabilities.check" | "capabilities.resolve" | "create.table" | "tables.convertFromText" | "tables.delete" | "tables.clearContents" | "tables.move" | "tables.split" | "tables.convertToText" | "tables.setLayout" | "tables.insertRow" | "tables.deleteRow" | "tables.moveRow" | "tables.setRowHeight" | "tables.distributeRows" | "tables.setRowOptions" | "tables.insertColumn" | "tables.deleteColumn" | "tables.moveColumn" | "tables.setColumnWidth" | "tables.distributeColumns" | "tables.insertCell" | "tables.deleteCell" | "tables.mergeCells" | "tables.unmergeCells" | "tables.splitCell" | "tables.setCellProperties" | "tables.setCellText" | "tables.sort" | "tables.setAltText" | "tables.setStyle" | "tables.clearStyle" | "tables.setStyleOption" | "tables.setBorder" | "tables.clearBorder" | "tables.applyBorderPreset" | "tables.setShading" | "tables.clearShading" | "tables.setTablePadding" | "tables.setCellPadding" | "tables.setCellSpacing" | "tables.clearCellSpacing" | "tables.applyStyle" | "tables.setBorders" | "tables.setTableOptions" | "tables.applyPreset" | "tables.get" | "tables.getCells" | "tables.getProperties" | "tables.getStyles" | "tables.setDefaultStyle" | "tables.clearDefaultStyle" | "create.tableOfContents" | "toc.list" | "toc.get" | "toc.configure" | "toc.update" | "toc.remove" | "toc.markEntry" | "toc.unmarkEntry" | "toc.listEntries" | "toc.getEntry" | "toc.editEntry" | "history.get" | "history.undo" | "history.redo" | "create.image" | "images.list" | "images.get" | "images.delete" | "images.move" | "images.convertToInline" | "images.convertToFloating" | "images.setSize" | "images.setWrapType" | "images.setWrapSide" | "images.setWrapDistances" | "images.setPosition" | "images.setAnchorOptions" | "images.setZOrder" | "images.scale" | "images.setLockAspectRatio" | "images.rotate" | "images.flip" | "images.crop" | "images.resetCrop" | "images.replaceSource" | "images.setAltText" | "images.setDecorative" | "images.setName" | "images.setHyperlink" | "images.insertCaption" | "images.updateCaption" | "images.removeCaption" | "hyperlinks.list" | "hyperlinks.get" | "hyperlinks.wrap" | "hyperlinks.insert" | "hyperlinks.patch" | "hyperlinks.remove" | "headerFooters.list" | "headerFooters.get" | "headerFooters.resolve" | "headerFooters.refs.set" | "headerFooters.refs.clear" | "headerFooters.refs.setLinkedToPrevious" | "headerFooters.parts.list" | "headerFooters.parts.create" | "headerFooters.parts.delete" | "watermarks.apply" | "watermarks.list" | "watermarks.insert" | "watermarks.replace" | "watermarks.remove" | "create.contentControl" | "contentControls.list" | "contentControls.get" | "contentControls.listInRange" | "contentControls.selectByTag" | "contentControls.selectByTitle" | "contentControls.listChildren" | "contentControls.getParent" | "contentControls.wrap" | "contentControls.unwrap" | "contentControls.delete" | "contentControls.copy" | "contentControls.move" | "contentControls.patch" | "contentControls.setLockMode" | "contentControls.setType" | "contentControls.getContent" | "contentControls.replaceContent" | "contentControls.clearContent" | "contentControls.appendContent" | "contentControls.prependContent" | "contentControls.insertBefore" | "contentControls.insertAfter" | "contentControls.getBinding" | "contentControls.setBinding" | "contentControls.clearBinding" | "contentControls.getRawProperties" | "contentControls.patchRawProperties" | "contentControls.validateWordCompatibility" | "contentControls.normalizeWordCompatibility" | "contentControls.normalizeTagPayload" | "contentControls.text.setMultiline" | "contentControls.text.setValue" | "contentControls.text.clearValue" | "contentControls.date.setValue" | "contentControls.date.clearValue" | "contentControls.date.setDisplayFormat" | "contentControls.date.setDisplayLocale" | "contentControls.date.setStorageFormat" | "contentControls.date.setCalendar" | "contentControls.checkbox.getState" | "contentControls.checkbox.setState" | "contentControls.checkbox.toggle" | "contentControls.checkbox.setSymbolPair" | "contentControls.choiceList.getItems" | "contentControls.choiceList.setItems" | "contentControls.choiceList.setSelected" | "contentControls.repeatingSection.listItems" | "contentControls.repeatingSection.insertItemBefore" | "contentControls.repeatingSection.insertItemAfter" | "contentControls.repeatingSection.cloneItem" | "contentControls.repeatingSection.deleteItem" | "contentControls.repeatingSection.setAllowInsertDelete" | "contentControls.group.wrap" | "contentControls.group.ungroup" | "bookmarks.list" | "bookmarks.get" | "bookmarks.insert" | "bookmarks.rename" | "bookmarks.remove" | "footnotes.list" | "footnotes.get" | "footnotes.insert" | "footnotes.update" | "footnotes.remove" | "footnotes.configure" | "clipboard.parse" | "clipboard.insert" | "clipboard.serializeSelection" | "crossRefs.list" | "crossRefs.get" | "crossRefs.insert" | "crossRefs.rebuild" | "crossRefs.remove" | "index.list" | "index.get" | "index.insert" | "index.configure" | "index.rebuild" | "index.remove" | "index.entries.list" | "index.entries.get" | "index.entries.insert" | "index.entries.update" | "index.entries.remove" | "captions.list" | "captions.get" | "captions.insert" | "captions.update" | "captions.remove" | "captions.configure" | "fields.list" | "fields.get" | "fields.insert" | "fields.rebuild" | "fields.remove" | "citations.list" | "citations.get" | "citations.insert" | "citations.update" | "citations.remove" | "citations.sources.list" | "citations.sources.get" | "citations.sources.insert" | "citations.sources.update" | "citations.sources.remove" | "citations.bibliography.get" | "citations.bibliography.insert" | "citations.bibliography.rebuild" | "citations.bibliography.configure" | "citations.bibliography.remove" | "authorities.list" | "authorities.get" | "authorities.insert" | "authorities.configure" | "authorities.rebuild" | "authorities.remove" | "authorities.entries.list" | "authorities.entries.get" | "authorities.entries.insert" | "authorities.entries.update" | "authorities.entries.remove" | "diff.capture" | "diff.compare" | "diff.apply" | "export.toDocx" | "protection.get" | "protection.setEditingRestriction" | "protection.clearEditingRestriction" | "permissionRanges.list" | "permissionRanges.get" | "permissionRanges.create" | "permissionRanges.remove" | "permissionRanges.updatePrincipal" | "customXml.parts.list" | "customXml.parts.get" | "customXml.parts.create" | "customXml.parts.patch" | "customXml.parts.remove" | "metadata.attach" | "metadata.list" | "metadata.get" | "metadata.update" | "metadata.remove" | "metadata.resolve";
|
|
108977
|
+
operationId: "get" | "find" | "getNode" | "getNodeById" | "getText" | "getMarkdown" | "getHtml" | "projectMarkdown" | "projectHtml" | "markdownToFragment" | "htmlToFragment" | "info" | "extract" | "clearContent" | "insert" | "replace" | "delete" | "formatRange" | "blocks.findText" | "blocks.list" | "blocks.delete" | "blocks.deleteRange" | "blocks.split" | "blocks.merge" | "blocks.move" | "format.apply" | "format.bold" | "format.italic" | "format.strike" | "format.underline" | "format.highlight" | "format.color" | "format.fontSize" | "format.fontFamily" | "format.letterSpacing" | "format.vertAlign" | "format.position" | "format.dstrike" | "format.smallCaps" | "format.caps" | "format.shading" | "format.border" | "format.outline" | "format.shadow" | "format.emboss" | "format.imprint" | "format.charScale" | "format.kerning" | "format.vanish" | "format.webHidden" | "format.specVanish" | "format.rtl" | "format.cs" | "format.bCs" | "format.iCs" | "format.eastAsianLayout" | "format.em" | "format.fitText" | "format.snapToGrid" | "format.lang" | "format.oMath" | "format.rStyle" | "format.rFonts" | "format.fontSizeCs" | "format.ligatures" | "format.numForm" | "format.numSpacing" | "format.stylisticSets" | "format.contextualAlternates" | "styles.apply" | "styles.getCatalog" | "templates.apply" | "create.paragraph" | "create.heading" | "create.sectionBreak" | "sections.list" | "sections.get" | "sections.setBreakType" | "sections.setPageMargins" | "sections.setHeaderFooterMargins" | "sections.setPageSetup" | "sections.setColumns" | "sections.setLineNumbering" | "sections.setPageNumbering" | "sections.setTitlePage" | "sections.setOddEvenHeadersFooters" | "sections.setVerticalAlign" | "sections.setSectionDirection" | "sections.setHeaderFooterRef" | "sections.clearHeaderFooterRef" | "sections.setLinkToPrevious" | "sections.setPageBorders" | "sections.clearPageBorders" | "styles.paragraph.setStyle" | "styles.paragraph.setStyleRef" | "styles.paragraph.clearStyle" | "format.paragraph.resetDirectFormatting" | "format.paragraph.setAlignment" | "format.paragraph.clearAlignment" | "format.paragraph.setIndentation" | "format.paragraph.clearIndentation" | "format.paragraph.setSpacing" | "format.paragraph.clearSpacing" | "format.paragraph.setKeepOptions" | "format.paragraph.setOutlineLevel" | "format.paragraph.setFlowOptions" | "format.paragraph.setTabStop" | "format.paragraph.clearTabStop" | "format.paragraph.clearAllTabStops" | "format.paragraph.setBorder" | "format.paragraph.clearBorder" | "format.paragraph.setShading" | "format.paragraph.clearShading" | "format.paragraph.setMarkRunProps" | "format.paragraph.setDirection" | "format.paragraph.clearDirection" | "format.paragraph.setNumbering" | "lists.list" | "lists.get" | "lists.insert" | "lists.create" | "lists.attach" | "lists.detach" | "lists.delete" | "lists.indent" | "lists.outdent" | "lists.join" | "lists.canJoin" | "lists.separate" | "lists.merge" | "lists.split" | "lists.setLevel" | "lists.setValue" | "lists.continuePrevious" | "lists.canContinuePrevious" | "lists.setLevelRestart" | "lists.convertToText" | "lists.applyTemplate" | "lists.applyPreset" | "lists.setType" | "lists.captureTemplate" | "lists.setLevelNumbering" | "lists.setLevelBullet" | "lists.setLevelPictureBullet" | "lists.setLevelAlignment" | "lists.setLevelIndents" | "lists.setLevelTrailingCharacter" | "lists.setLevelMarkerFont" | "lists.clearLevelOverrides" | "lists.getStyle" | "lists.applyStyle" | "lists.restartAt" | "lists.setLevelNumberStyle" | "lists.setLevelText" | "lists.setLevelStart" | "lists.setLevelLayout" | "lists.getState" | "lists.apply" | "lists.continue" | "lists.restart" | "lists.remove" | "comments.create" | "comments.patch" | "comments.delete" | "comments.get" | "comments.list" | "trackChanges.list" | "trackChanges.get" | "trackChanges.decide" | "query.match" | "ranges.resolve" | "selection.current" | "selection.extractOoxml" | "mutations.preview" | "mutations.apply" | "plan.execute" | "capabilities.get" | "capabilities.check" | "capabilities.resolve" | "create.table" | "tables.convertFromText" | "tables.delete" | "tables.clearContents" | "tables.move" | "tables.split" | "tables.convertToText" | "tables.setLayout" | "tables.insertRow" | "tables.deleteRow" | "tables.moveRow" | "tables.setRowHeight" | "tables.distributeRows" | "tables.setRowOptions" | "tables.insertColumn" | "tables.deleteColumn" | "tables.moveColumn" | "tables.setColumnWidth" | "tables.distributeColumns" | "tables.insertCell" | "tables.deleteCell" | "tables.mergeCells" | "tables.unmergeCells" | "tables.splitCell" | "tables.setCellProperties" | "tables.setCellText" | "tables.sort" | "tables.setAltText" | "tables.setStyle" | "tables.clearStyle" | "tables.setStyleOption" | "tables.setBorder" | "tables.clearBorder" | "tables.applyBorderPreset" | "tables.setShading" | "tables.clearShading" | "tables.setTablePadding" | "tables.setCellPadding" | "tables.setCellSpacing" | "tables.clearCellSpacing" | "tables.applyStyle" | "tables.setBorders" | "tables.setTableOptions" | "tables.applyPreset" | "tables.get" | "tables.getCells" | "tables.getProperties" | "tables.getStyles" | "tables.setDefaultStyle" | "tables.clearDefaultStyle" | "create.tableOfContents" | "toc.list" | "toc.get" | "toc.configure" | "toc.update" | "toc.remove" | "toc.markEntry" | "toc.unmarkEntry" | "toc.listEntries" | "toc.getEntry" | "toc.editEntry" | "history.get" | "history.undo" | "history.redo" | "create.image" | "images.list" | "images.get" | "images.delete" | "images.move" | "images.convertToInline" | "images.convertToFloating" | "images.setSize" | "images.setWrapType" | "images.setWrapSide" | "images.setWrapDistances" | "images.setPosition" | "images.setAnchorOptions" | "images.setZOrder" | "images.scale" | "images.setLockAspectRatio" | "images.rotate" | "images.flip" | "images.crop" | "images.resetCrop" | "images.replaceSource" | "images.setAltText" | "images.setDecorative" | "images.setName" | "images.setHyperlink" | "images.insertCaption" | "images.updateCaption" | "images.removeCaption" | "hyperlinks.list" | "hyperlinks.get" | "hyperlinks.wrap" | "hyperlinks.insert" | "hyperlinks.patch" | "hyperlinks.remove" | "headerFooters.list" | "headerFooters.get" | "headerFooters.resolve" | "headerFooters.refs.set" | "headerFooters.refs.clear" | "headerFooters.refs.setLinkedToPrevious" | "headerFooters.parts.list" | "headerFooters.parts.create" | "headerFooters.parts.delete" | "watermarks.apply" | "watermarks.list" | "watermarks.insert" | "watermarks.replace" | "watermarks.remove" | "create.contentControl" | "contentControls.list" | "contentControls.get" | "contentControls.listInRange" | "contentControls.selectByTag" | "contentControls.selectByTitle" | "contentControls.listChildren" | "contentControls.getParent" | "contentControls.wrap" | "contentControls.unwrap" | "contentControls.delete" | "contentControls.copy" | "contentControls.move" | "contentControls.patch" | "contentControls.setLockMode" | "contentControls.setType" | "contentControls.getContent" | "contentControls.replaceContent" | "contentControls.clearContent" | "contentControls.appendContent" | "contentControls.prependContent" | "contentControls.insertBefore" | "contentControls.insertAfter" | "contentControls.getBinding" | "contentControls.setBinding" | "contentControls.clearBinding" | "contentControls.getRawProperties" | "contentControls.patchRawProperties" | "contentControls.validateWordCompatibility" | "contentControls.normalizeWordCompatibility" | "contentControls.normalizeTagPayload" | "contentControls.text.setMultiline" | "contentControls.text.setValue" | "contentControls.text.clearValue" | "contentControls.date.setValue" | "contentControls.date.clearValue" | "contentControls.date.setDisplayFormat" | "contentControls.date.setDisplayLocale" | "contentControls.date.setStorageFormat" | "contentControls.date.setCalendar" | "contentControls.checkbox.getState" | "contentControls.checkbox.setState" | "contentControls.checkbox.toggle" | "contentControls.checkbox.setSymbolPair" | "contentControls.choiceList.getItems" | "contentControls.choiceList.setItems" | "contentControls.choiceList.setSelected" | "contentControls.repeatingSection.listItems" | "contentControls.repeatingSection.insertItemBefore" | "contentControls.repeatingSection.insertItemAfter" | "contentControls.repeatingSection.cloneItem" | "contentControls.repeatingSection.deleteItem" | "contentControls.repeatingSection.setAllowInsertDelete" | "contentControls.group.wrap" | "contentControls.group.ungroup" | "bookmarks.list" | "bookmarks.get" | "bookmarks.insert" | "bookmarks.rename" | "bookmarks.remove" | "footnotes.list" | "footnotes.get" | "footnotes.insert" | "footnotes.update" | "footnotes.remove" | "footnotes.configure" | "clipboard.parse" | "clipboard.insert" | "clipboard.serializeSelection" | "crossRefs.list" | "crossRefs.get" | "crossRefs.insert" | "crossRefs.rebuild" | "crossRefs.remove" | "index.list" | "index.get" | "index.insert" | "index.configure" | "index.rebuild" | "index.remove" | "index.entries.list" | "index.entries.get" | "index.entries.insert" | "index.entries.update" | "index.entries.remove" | "captions.list" | "captions.get" | "captions.insert" | "captions.update" | "captions.remove" | "captions.configure" | "fields.list" | "fields.get" | "fields.insert" | "fields.rebuild" | "fields.remove" | "citations.list" | "citations.get" | "citations.insert" | "citations.update" | "citations.remove" | "citations.sources.list" | "citations.sources.get" | "citations.sources.insert" | "citations.sources.update" | "citations.sources.remove" | "citations.bibliography.get" | "citations.bibliography.insert" | "citations.bibliography.rebuild" | "citations.bibliography.configure" | "citations.bibliography.remove" | "authorities.list" | "authorities.get" | "authorities.insert" | "authorities.configure" | "authorities.rebuild" | "authorities.remove" | "authorities.entries.list" | "authorities.entries.get" | "authorities.entries.insert" | "authorities.entries.update" | "authorities.entries.remove" | "diff.capture" | "diff.compare" | "diff.apply" | "export.toDocx" | "protection.get" | "protection.setEditingRestriction" | "protection.clearEditingRestriction" | "permissionRanges.list" | "permissionRanges.get" | "permissionRanges.create" | "permissionRanges.remove" | "permissionRanges.updatePrincipal" | "customXml.parts.list" | "customXml.parts.get" | "customXml.parts.create" | "customXml.parts.patch" | "customXml.parts.remove" | "metadata.attach" | "metadata.list" | "metadata.get" | "metadata.update" | "metadata.remove" | "metadata.resolve";
|
|
108395
108978
|
available: ({
|
|
108396
108979
|
kind: "supported";
|
|
108397
108980
|
}) | ({
|
|
@@ -122203,7 +122786,7 @@ export type DocDiffCompareResult = {
|
|
|
122203
122786
|
direct: {
|
|
122204
122787
|
status: "candidate" | "blocked";
|
|
122205
122788
|
blockers: Array<{
|
|
122206
|
-
code: "family-apply-lane-unavailable" | "header-footer-physical-lifecycle-unsafe" | "header-footer-tracked-lifecycle-unsupported" | "comment-replay-unsafe" | "comment-anchor-marker-semantics-unsafe" | "styles-replay-unsafe" | "numbering-replay-unsafe" | "definition-replay-tracked-unsupported" | "section-reference-replay-unsafe" | "structural-paragraph-unsupported";
|
|
122789
|
+
code: "family-apply-lane-unavailable" | "header-footer-physical-lifecycle-unsafe" | "header-footer-tracked-lifecycle-unsupported" | "comment-replay-unsafe" | "comment-anchor-marker-semantics-unsafe" | "styles-replay-unsafe" | "numbering-replay-unsafe" | "definition-replay-tracked-unsupported" | "package-graph-tracked-unsupported" | "section-reference-replay-unsafe" | "structural-paragraph-unsupported";
|
|
122207
122790
|
message: string;
|
|
122208
122791
|
families?: Array<string>;
|
|
122209
122792
|
}>;
|
|
@@ -122211,12 +122794,18 @@ export type DocDiffCompareResult = {
|
|
|
122211
122794
|
tracked: {
|
|
122212
122795
|
status: "candidate" | "blocked";
|
|
122213
122796
|
blockers: Array<{
|
|
122214
|
-
code: "family-apply-lane-unavailable" | "header-footer-physical-lifecycle-unsafe" | "header-footer-tracked-lifecycle-unsupported" | "comment-replay-unsafe" | "comment-anchor-marker-semantics-unsafe" | "styles-replay-unsafe" | "numbering-replay-unsafe" | "definition-replay-tracked-unsupported" | "section-reference-replay-unsafe" | "structural-paragraph-unsupported";
|
|
122797
|
+
code: "family-apply-lane-unavailable" | "header-footer-physical-lifecycle-unsafe" | "header-footer-tracked-lifecycle-unsupported" | "comment-replay-unsafe" | "comment-anchor-marker-semantics-unsafe" | "styles-replay-unsafe" | "numbering-replay-unsafe" | "definition-replay-tracked-unsupported" | "package-graph-tracked-unsupported" | "section-reference-replay-unsafe" | "structural-paragraph-unsupported";
|
|
122215
122798
|
message: string;
|
|
122216
122799
|
families?: Array<string>;
|
|
122217
122800
|
}>;
|
|
122218
122801
|
};
|
|
122219
122802
|
};
|
|
122803
|
+
partChanges?: Array<{
|
|
122804
|
+
partUri: string;
|
|
122805
|
+
kind: "added" | "removed" | "modified";
|
|
122806
|
+
beforeFingerprint: unknown;
|
|
122807
|
+
afterFingerprint: unknown;
|
|
122808
|
+
}>;
|
|
122220
122809
|
payload: Record<string, unknown>;
|
|
122221
122810
|
};
|
|
122222
122811
|
export type DocDiffApplyResult = {
|
|
@@ -141629,6 +142218,236 @@ export interface DocRangesResolveBoundParams {
|
|
|
141629
142218
|
export interface DocSelectionCurrentBoundParams {
|
|
141630
142219
|
includeText?: boolean;
|
|
141631
142220
|
}
|
|
142221
|
+
export interface DocSelectionExtractOoxmlBoundParams {
|
|
142222
|
+
at?: ({
|
|
142223
|
+
kind: "selection";
|
|
142224
|
+
start: ({
|
|
142225
|
+
kind: "text";
|
|
142226
|
+
blockId: string;
|
|
142227
|
+
offset: number;
|
|
142228
|
+
story?: ({
|
|
142229
|
+
kind: "story";
|
|
142230
|
+
storyType: "body";
|
|
142231
|
+
}) | ({
|
|
142232
|
+
kind: "story";
|
|
142233
|
+
storyType: "headerFooterSlot";
|
|
142234
|
+
section: {
|
|
142235
|
+
kind: "section";
|
|
142236
|
+
sectionId: string;
|
|
142237
|
+
};
|
|
142238
|
+
headerFooterKind: "header" | "footer";
|
|
142239
|
+
variant: "default" | "first" | "even";
|
|
142240
|
+
resolution?: "effective" | "explicit";
|
|
142241
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
142242
|
+
}) | ({
|
|
142243
|
+
kind: "story";
|
|
142244
|
+
storyType: "headerFooterPart";
|
|
142245
|
+
refId: string;
|
|
142246
|
+
}) | ({
|
|
142247
|
+
kind: "story";
|
|
142248
|
+
storyType: "footnote";
|
|
142249
|
+
noteId: string;
|
|
142250
|
+
}) | ({
|
|
142251
|
+
kind: "story";
|
|
142252
|
+
storyType: "endnote";
|
|
142253
|
+
noteId: string;
|
|
142254
|
+
}) | ({
|
|
142255
|
+
kind: "story";
|
|
142256
|
+
storyType: "textbox";
|
|
142257
|
+
textboxId: string;
|
|
142258
|
+
});
|
|
142259
|
+
}) | ({
|
|
142260
|
+
kind: "nodeEdge";
|
|
142261
|
+
node: {
|
|
142262
|
+
kind: "block";
|
|
142263
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableOfContents" | "sdt" | "image";
|
|
142264
|
+
nodeId: string;
|
|
142265
|
+
story?: ({
|
|
142266
|
+
kind: "story";
|
|
142267
|
+
storyType: "body";
|
|
142268
|
+
}) | ({
|
|
142269
|
+
kind: "story";
|
|
142270
|
+
storyType: "headerFooterSlot";
|
|
142271
|
+
section: {
|
|
142272
|
+
kind: "section";
|
|
142273
|
+
sectionId: string;
|
|
142274
|
+
};
|
|
142275
|
+
headerFooterKind: "header" | "footer";
|
|
142276
|
+
variant: "default" | "first" | "even";
|
|
142277
|
+
resolution?: "effective" | "explicit";
|
|
142278
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
142279
|
+
}) | ({
|
|
142280
|
+
kind: "story";
|
|
142281
|
+
storyType: "headerFooterPart";
|
|
142282
|
+
refId: string;
|
|
142283
|
+
}) | ({
|
|
142284
|
+
kind: "story";
|
|
142285
|
+
storyType: "footnote";
|
|
142286
|
+
noteId: string;
|
|
142287
|
+
}) | ({
|
|
142288
|
+
kind: "story";
|
|
142289
|
+
storyType: "endnote";
|
|
142290
|
+
noteId: string;
|
|
142291
|
+
}) | ({
|
|
142292
|
+
kind: "story";
|
|
142293
|
+
storyType: "textbox";
|
|
142294
|
+
textboxId: string;
|
|
142295
|
+
});
|
|
142296
|
+
};
|
|
142297
|
+
edge: "before" | "after";
|
|
142298
|
+
});
|
|
142299
|
+
end: ({
|
|
142300
|
+
kind: "text";
|
|
142301
|
+
blockId: string;
|
|
142302
|
+
offset: number;
|
|
142303
|
+
story?: ({
|
|
142304
|
+
kind: "story";
|
|
142305
|
+
storyType: "body";
|
|
142306
|
+
}) | ({
|
|
142307
|
+
kind: "story";
|
|
142308
|
+
storyType: "headerFooterSlot";
|
|
142309
|
+
section: {
|
|
142310
|
+
kind: "section";
|
|
142311
|
+
sectionId: string;
|
|
142312
|
+
};
|
|
142313
|
+
headerFooterKind: "header" | "footer";
|
|
142314
|
+
variant: "default" | "first" | "even";
|
|
142315
|
+
resolution?: "effective" | "explicit";
|
|
142316
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
142317
|
+
}) | ({
|
|
142318
|
+
kind: "story";
|
|
142319
|
+
storyType: "headerFooterPart";
|
|
142320
|
+
refId: string;
|
|
142321
|
+
}) | ({
|
|
142322
|
+
kind: "story";
|
|
142323
|
+
storyType: "footnote";
|
|
142324
|
+
noteId: string;
|
|
142325
|
+
}) | ({
|
|
142326
|
+
kind: "story";
|
|
142327
|
+
storyType: "endnote";
|
|
142328
|
+
noteId: string;
|
|
142329
|
+
}) | ({
|
|
142330
|
+
kind: "story";
|
|
142331
|
+
storyType: "textbox";
|
|
142332
|
+
textboxId: string;
|
|
142333
|
+
});
|
|
142334
|
+
}) | ({
|
|
142335
|
+
kind: "nodeEdge";
|
|
142336
|
+
node: {
|
|
142337
|
+
kind: "block";
|
|
142338
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableOfContents" | "sdt" | "image";
|
|
142339
|
+
nodeId: string;
|
|
142340
|
+
story?: ({
|
|
142341
|
+
kind: "story";
|
|
142342
|
+
storyType: "body";
|
|
142343
|
+
}) | ({
|
|
142344
|
+
kind: "story";
|
|
142345
|
+
storyType: "headerFooterSlot";
|
|
142346
|
+
section: {
|
|
142347
|
+
kind: "section";
|
|
142348
|
+
sectionId: string;
|
|
142349
|
+
};
|
|
142350
|
+
headerFooterKind: "header" | "footer";
|
|
142351
|
+
variant: "default" | "first" | "even";
|
|
142352
|
+
resolution?: "effective" | "explicit";
|
|
142353
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
142354
|
+
}) | ({
|
|
142355
|
+
kind: "story";
|
|
142356
|
+
storyType: "headerFooterPart";
|
|
142357
|
+
refId: string;
|
|
142358
|
+
}) | ({
|
|
142359
|
+
kind: "story";
|
|
142360
|
+
storyType: "footnote";
|
|
142361
|
+
noteId: string;
|
|
142362
|
+
}) | ({
|
|
142363
|
+
kind: "story";
|
|
142364
|
+
storyType: "endnote";
|
|
142365
|
+
noteId: string;
|
|
142366
|
+
}) | ({
|
|
142367
|
+
kind: "story";
|
|
142368
|
+
storyType: "textbox";
|
|
142369
|
+
textboxId: string;
|
|
142370
|
+
});
|
|
142371
|
+
};
|
|
142372
|
+
edge: "before" | "after";
|
|
142373
|
+
});
|
|
142374
|
+
story?: ({
|
|
142375
|
+
kind: "story";
|
|
142376
|
+
storyType: "body";
|
|
142377
|
+
}) | ({
|
|
142378
|
+
kind: "story";
|
|
142379
|
+
storyType: "headerFooterSlot";
|
|
142380
|
+
section: {
|
|
142381
|
+
kind: "section";
|
|
142382
|
+
sectionId: string;
|
|
142383
|
+
};
|
|
142384
|
+
headerFooterKind: "header" | "footer";
|
|
142385
|
+
variant: "default" | "first" | "even";
|
|
142386
|
+
resolution?: "effective" | "explicit";
|
|
142387
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
142388
|
+
}) | ({
|
|
142389
|
+
kind: "story";
|
|
142390
|
+
storyType: "headerFooterPart";
|
|
142391
|
+
refId: string;
|
|
142392
|
+
}) | ({
|
|
142393
|
+
kind: "story";
|
|
142394
|
+
storyType: "footnote";
|
|
142395
|
+
noteId: string;
|
|
142396
|
+
}) | ({
|
|
142397
|
+
kind: "story";
|
|
142398
|
+
storyType: "endnote";
|
|
142399
|
+
noteId: string;
|
|
142400
|
+
}) | ({
|
|
142401
|
+
kind: "story";
|
|
142402
|
+
storyType: "textbox";
|
|
142403
|
+
textboxId: string;
|
|
142404
|
+
});
|
|
142405
|
+
coordinateSpace?: "visible" | "tracked";
|
|
142406
|
+
}) | ({
|
|
142407
|
+
kind: "tableCells";
|
|
142408
|
+
tableId: string;
|
|
142409
|
+
start: {
|
|
142410
|
+
rowIndex: number;
|
|
142411
|
+
columnIndex: number;
|
|
142412
|
+
};
|
|
142413
|
+
end: {
|
|
142414
|
+
rowIndex: number;
|
|
142415
|
+
columnIndex: number;
|
|
142416
|
+
};
|
|
142417
|
+
story?: ({
|
|
142418
|
+
kind: "story";
|
|
142419
|
+
storyType: "body";
|
|
142420
|
+
}) | ({
|
|
142421
|
+
kind: "story";
|
|
142422
|
+
storyType: "headerFooterSlot";
|
|
142423
|
+
section: {
|
|
142424
|
+
kind: "section";
|
|
142425
|
+
sectionId: string;
|
|
142426
|
+
};
|
|
142427
|
+
headerFooterKind: "header" | "footer";
|
|
142428
|
+
variant: "default" | "first" | "even";
|
|
142429
|
+
resolution?: "effective" | "explicit";
|
|
142430
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
142431
|
+
}) | ({
|
|
142432
|
+
kind: "story";
|
|
142433
|
+
storyType: "headerFooterPart";
|
|
142434
|
+
refId: string;
|
|
142435
|
+
}) | ({
|
|
142436
|
+
kind: "story";
|
|
142437
|
+
storyType: "footnote";
|
|
142438
|
+
noteId: string;
|
|
142439
|
+
}) | ({
|
|
142440
|
+
kind: "story";
|
|
142441
|
+
storyType: "endnote";
|
|
142442
|
+
noteId: string;
|
|
142443
|
+
}) | ({
|
|
142444
|
+
kind: "story";
|
|
142445
|
+
storyType: "textbox";
|
|
142446
|
+
textboxId: string;
|
|
142447
|
+
});
|
|
142448
|
+
});
|
|
142449
|
+
selection?: "current";
|
|
142450
|
+
}
|
|
141632
142451
|
export interface DocMutationsPreviewBoundParams {
|
|
141633
142452
|
in?: ({
|
|
141634
142453
|
kind: "story";
|
|
@@ -152212,7 +153031,7 @@ export interface DocDiffApplyBoundParams {
|
|
|
152212
153031
|
direct: {
|
|
152213
153032
|
status: "candidate" | "blocked";
|
|
152214
153033
|
blockers: Array<{
|
|
152215
|
-
code: "family-apply-lane-unavailable" | "header-footer-physical-lifecycle-unsafe" | "header-footer-tracked-lifecycle-unsupported" | "comment-replay-unsafe" | "comment-anchor-marker-semantics-unsafe" | "styles-replay-unsafe" | "numbering-replay-unsafe" | "definition-replay-tracked-unsupported" | "section-reference-replay-unsafe" | "structural-paragraph-unsupported";
|
|
153034
|
+
code: "family-apply-lane-unavailable" | "header-footer-physical-lifecycle-unsafe" | "header-footer-tracked-lifecycle-unsupported" | "comment-replay-unsafe" | "comment-anchor-marker-semantics-unsafe" | "styles-replay-unsafe" | "numbering-replay-unsafe" | "definition-replay-tracked-unsupported" | "package-graph-tracked-unsupported" | "section-reference-replay-unsafe" | "structural-paragraph-unsupported";
|
|
152216
153035
|
message: string;
|
|
152217
153036
|
families?: Array<string>;
|
|
152218
153037
|
}>;
|
|
@@ -152220,12 +153039,18 @@ export interface DocDiffApplyBoundParams {
|
|
|
152220
153039
|
tracked: {
|
|
152221
153040
|
status: "candidate" | "blocked";
|
|
152222
153041
|
blockers: Array<{
|
|
152223
|
-
code: "family-apply-lane-unavailable" | "header-footer-physical-lifecycle-unsafe" | "header-footer-tracked-lifecycle-unsupported" | "comment-replay-unsafe" | "comment-anchor-marker-semantics-unsafe" | "styles-replay-unsafe" | "numbering-replay-unsafe" | "definition-replay-tracked-unsupported" | "section-reference-replay-unsafe" | "structural-paragraph-unsupported";
|
|
153042
|
+
code: "family-apply-lane-unavailable" | "header-footer-physical-lifecycle-unsafe" | "header-footer-tracked-lifecycle-unsupported" | "comment-replay-unsafe" | "comment-anchor-marker-semantics-unsafe" | "styles-replay-unsafe" | "numbering-replay-unsafe" | "definition-replay-tracked-unsupported" | "package-graph-tracked-unsupported" | "section-reference-replay-unsafe" | "structural-paragraph-unsupported";
|
|
152224
153043
|
message: string;
|
|
152225
153044
|
families?: Array<string>;
|
|
152226
153045
|
}>;
|
|
152227
153046
|
};
|
|
152228
153047
|
};
|
|
153048
|
+
partChanges?: Array<{
|
|
153049
|
+
partUri: string;
|
|
153050
|
+
kind: "added" | "removed" | "modified";
|
|
153051
|
+
beforeFingerprint: unknown;
|
|
153052
|
+
afterFingerprint: unknown;
|
|
153053
|
+
}>;
|
|
152229
153054
|
payload: Record<string, unknown>;
|
|
152230
153055
|
};
|
|
152231
153056
|
}
|
|
@@ -153201,6 +154026,7 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
|
|
|
153201
154026
|
};
|
|
153202
154027
|
selection: {
|
|
153203
154028
|
current: (params?: DocSelectionCurrentParams, options?: InvokeOptions) => Promise<DocSelectionCurrentResult>;
|
|
154029
|
+
extractOoxml: (params?: DocSelectionExtractOoxmlParams, options?: InvokeOptions) => Promise<DocSelectionExtractOoxmlResult>;
|
|
153204
154030
|
};
|
|
153205
154031
|
mutations: {
|
|
153206
154032
|
preview: (params: DocMutationsPreviewParams, options?: InvokeOptions) => Promise<DocMutationsPreviewResult>;
|
|
@@ -153770,6 +154596,7 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
|
|
|
153770
154596
|
};
|
|
153771
154597
|
selection: {
|
|
153772
154598
|
current: (params?: DocSelectionCurrentBoundParams, options?: InvokeOptions) => Promise<DocSelectionCurrentResult>;
|
|
154599
|
+
extractOoxml: (params?: DocSelectionExtractOoxmlBoundParams, options?: InvokeOptions) => Promise<DocSelectionExtractOoxmlResult>;
|
|
153773
154600
|
};
|
|
153774
154601
|
mutations: {
|
|
153775
154602
|
preview: (params: DocMutationsPreviewBoundParams, options?: InvokeOptions) => Promise<DocMutationsPreviewResult>;
|