@superdoc/sdk 2.15.1-next.5 → 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/README.md +65 -0
- package/dist/generated/client.cjs +4 -0
- package/dist/generated/client.d.ts +1282 -145
- package/dist/generated/client.js +4 -0
- package/dist/generated/contract.cjs +1 -1
- package/dist/generated/contract.js +1 -1
- package/dist/index.cjs +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -0
- 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/dist/tracked-review-route.cjs +75 -0
- package/dist/tracked-review-route.d.ts +39 -0
- package/dist/tracked-review-route.js +70 -0
- package/package.json +8 -8
- 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;
|
|
@@ -25743,24 +25975,7 @@ export interface DocHeaderFootersPartsDeleteParams {
|
|
|
25743
25975
|
refId: string;
|
|
25744
25976
|
};
|
|
25745
25977
|
}
|
|
25746
|
-
export interface
|
|
25747
|
-
doc?: string;
|
|
25748
|
-
sessionId?: string;
|
|
25749
|
-
target?: ({
|
|
25750
|
-
kind: "document";
|
|
25751
|
-
}) | ({
|
|
25752
|
-
kind: "headerFooterSlot";
|
|
25753
|
-
section: {
|
|
25754
|
-
kind: "section";
|
|
25755
|
-
sectionId: string;
|
|
25756
|
-
};
|
|
25757
|
-
headerFooterKind: "header";
|
|
25758
|
-
variant: "default" | "first" | "even";
|
|
25759
|
-
});
|
|
25760
|
-
limit?: number;
|
|
25761
|
-
offset?: number;
|
|
25762
|
-
}
|
|
25763
|
-
export interface DocWatermarksInsertParams {
|
|
25978
|
+
export interface DocWatermarksApplyParams {
|
|
25764
25979
|
doc?: string;
|
|
25765
25980
|
sessionId?: string;
|
|
25766
25981
|
out?: string;
|
|
@@ -25771,15 +25986,138 @@ export interface DocWatermarksInsertParams {
|
|
|
25771
25986
|
target: ({
|
|
25772
25987
|
kind: "document";
|
|
25773
25988
|
}) | ({
|
|
25774
|
-
kind: "
|
|
25775
|
-
|
|
25776
|
-
kind: "
|
|
25777
|
-
|
|
25778
|
-
|
|
25779
|
-
|
|
25780
|
-
|
|
25989
|
+
kind: "headerFooterSlots";
|
|
25990
|
+
slots: Array<{
|
|
25991
|
+
kind: "headerFooterSlot";
|
|
25992
|
+
section: {
|
|
25993
|
+
kind: "section";
|
|
25994
|
+
sectionId: string;
|
|
25995
|
+
};
|
|
25996
|
+
headerFooterKind: "header";
|
|
25997
|
+
variant: "default" | "first" | "even";
|
|
25998
|
+
}>;
|
|
25781
25999
|
});
|
|
25782
|
-
|
|
26000
|
+
action: string;
|
|
26001
|
+
watermark?: ({
|
|
26002
|
+
kind: "text";
|
|
26003
|
+
text: string;
|
|
26004
|
+
fontFamily?: string;
|
|
26005
|
+
fontSizePt?: "auto" | number;
|
|
26006
|
+
bold?: boolean;
|
|
26007
|
+
italic?: boolean;
|
|
26008
|
+
color?: string;
|
|
26009
|
+
opacity?: number;
|
|
26010
|
+
orientation?: "horizontal" | "diagonal";
|
|
26011
|
+
placement?: {
|
|
26012
|
+
widthPt?: number;
|
|
26013
|
+
heightPt?: number;
|
|
26014
|
+
rotationDegrees?: number;
|
|
26015
|
+
behindText?: boolean;
|
|
26016
|
+
horizontal?: {
|
|
26017
|
+
relativeFrom: "page" | "margin";
|
|
26018
|
+
alignment?: "left" | "center" | "right";
|
|
26019
|
+
offsetPt?: number;
|
|
26020
|
+
};
|
|
26021
|
+
vertical?: {
|
|
26022
|
+
relativeFrom: "page" | "margin";
|
|
26023
|
+
alignment?: "top" | "center" | "bottom";
|
|
26024
|
+
offsetPt?: number;
|
|
26025
|
+
};
|
|
26026
|
+
};
|
|
26027
|
+
}) | ({
|
|
26028
|
+
kind: "picture";
|
|
26029
|
+
src: string;
|
|
26030
|
+
scalePercent?: "auto" | 50 | 100 | 150 | 200 | 500;
|
|
26031
|
+
widthPt?: number;
|
|
26032
|
+
heightPt?: number;
|
|
26033
|
+
lockAspectRatio?: boolean;
|
|
26034
|
+
washout?: boolean;
|
|
26035
|
+
opacity?: number;
|
|
26036
|
+
placement?: {
|
|
26037
|
+
widthPt?: number;
|
|
26038
|
+
heightPt?: number;
|
|
26039
|
+
rotationDegrees?: number;
|
|
26040
|
+
behindText?: boolean;
|
|
26041
|
+
horizontal?: {
|
|
26042
|
+
relativeFrom: "page" | "margin";
|
|
26043
|
+
alignment?: "left" | "center" | "right";
|
|
26044
|
+
offsetPt?: number;
|
|
26045
|
+
};
|
|
26046
|
+
vertical?: {
|
|
26047
|
+
relativeFrom: "page" | "margin";
|
|
26048
|
+
alignment?: "top" | "center" | "bottom";
|
|
26049
|
+
offsetPt?: number;
|
|
26050
|
+
};
|
|
26051
|
+
};
|
|
26052
|
+
}) | ({
|
|
26053
|
+
kind: "picture";
|
|
26054
|
+
src?: unknown;
|
|
26055
|
+
scalePercent?: "auto" | 50 | 100 | 150 | 200 | 500;
|
|
26056
|
+
widthPt?: number;
|
|
26057
|
+
heightPt?: number;
|
|
26058
|
+
lockAspectRatio?: boolean;
|
|
26059
|
+
washout?: boolean;
|
|
26060
|
+
opacity?: number;
|
|
26061
|
+
placement?: {
|
|
26062
|
+
widthPt?: number;
|
|
26063
|
+
heightPt?: number;
|
|
26064
|
+
rotationDegrees?: number;
|
|
26065
|
+
behindText?: boolean;
|
|
26066
|
+
horizontal?: {
|
|
26067
|
+
relativeFrom: "page" | "margin";
|
|
26068
|
+
alignment?: "left" | "center" | "right";
|
|
26069
|
+
offsetPt?: number;
|
|
26070
|
+
};
|
|
26071
|
+
vertical?: {
|
|
26072
|
+
relativeFrom: "page" | "margin";
|
|
26073
|
+
alignment?: "top" | "center" | "bottom";
|
|
26074
|
+
offsetPt?: number;
|
|
26075
|
+
};
|
|
26076
|
+
};
|
|
26077
|
+
source: {
|
|
26078
|
+
kind: "existing";
|
|
26079
|
+
watermarkId: string;
|
|
26080
|
+
};
|
|
26081
|
+
});
|
|
26082
|
+
watermarkIds?: string[];
|
|
26083
|
+
}
|
|
26084
|
+
export interface DocWatermarksListParams {
|
|
26085
|
+
doc?: string;
|
|
26086
|
+
sessionId?: string;
|
|
26087
|
+
target?: ({
|
|
26088
|
+
kind: "document";
|
|
26089
|
+
}) | ({
|
|
26090
|
+
kind: "headerFooterSlot";
|
|
26091
|
+
section: {
|
|
26092
|
+
kind: "section";
|
|
26093
|
+
sectionId: string;
|
|
26094
|
+
};
|
|
26095
|
+
headerFooterKind: "header";
|
|
26096
|
+
variant: "default" | "first" | "even";
|
|
26097
|
+
});
|
|
26098
|
+
limit?: number;
|
|
26099
|
+
offset?: number;
|
|
26100
|
+
}
|
|
26101
|
+
export interface DocWatermarksInsertParams {
|
|
26102
|
+
doc?: string;
|
|
26103
|
+
sessionId?: string;
|
|
26104
|
+
out?: string;
|
|
26105
|
+
force?: boolean;
|
|
26106
|
+
expectedRevision?: string;
|
|
26107
|
+
changeMode?: string;
|
|
26108
|
+
dryRun?: boolean;
|
|
26109
|
+
target: ({
|
|
26110
|
+
kind: "document";
|
|
26111
|
+
}) | ({
|
|
26112
|
+
kind: "headerFooterSlot";
|
|
26113
|
+
section: {
|
|
26114
|
+
kind: "section";
|
|
26115
|
+
sectionId: string;
|
|
26116
|
+
};
|
|
26117
|
+
headerFooterKind: "header";
|
|
26118
|
+
variant: "default" | "first" | "even";
|
|
26119
|
+
});
|
|
26120
|
+
watermark: ({
|
|
25783
26121
|
kind: "text";
|
|
25784
26122
|
text: string;
|
|
25785
26123
|
fontFamily?: string;
|
|
@@ -30524,7 +30862,7 @@ export interface DocDiffApplyParams {
|
|
|
30524
30862
|
direct: {
|
|
30525
30863
|
status: "candidate" | "blocked";
|
|
30526
30864
|
blockers: Array<{
|
|
30527
|
-
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";
|
|
30528
30866
|
message: string;
|
|
30529
30867
|
families?: Array<string>;
|
|
30530
30868
|
}>;
|
|
@@ -30532,12 +30870,18 @@ export interface DocDiffApplyParams {
|
|
|
30532
30870
|
tracked: {
|
|
30533
30871
|
status: "candidate" | "blocked";
|
|
30534
30872
|
blockers: Array<{
|
|
30535
|
-
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";
|
|
30536
30874
|
message: string;
|
|
30537
30875
|
families?: Array<string>;
|
|
30538
30876
|
}>;
|
|
30539
30877
|
};
|
|
30540
30878
|
};
|
|
30879
|
+
partChanges?: Array<{
|
|
30880
|
+
partUri: string;
|
|
30881
|
+
kind: "added" | "removed" | "modified";
|
|
30882
|
+
beforeFingerprint: unknown;
|
|
30883
|
+
afterFingerprint: unknown;
|
|
30884
|
+
}>;
|
|
30541
30885
|
payload: Record<string, unknown>;
|
|
30542
30886
|
};
|
|
30543
30887
|
}
|
|
@@ -100717,8 +101061,9 @@ export type DocTrackChangesListResult = {
|
|
|
100717
101061
|
format?: string;
|
|
100718
101062
|
};
|
|
100719
101063
|
revisionGroupId?: string;
|
|
100720
|
-
reviewGroup?: {
|
|
101064
|
+
reviewGroup?: ({
|
|
100721
101065
|
kind: "text-rewrite";
|
|
101066
|
+
groupOrigin: "authored-operation";
|
|
100722
101067
|
role: "parent" | "child";
|
|
100723
101068
|
parentId?: string;
|
|
100724
101069
|
childChangeIds: Array<string>;
|
|
@@ -100733,7 +101078,24 @@ export type DocTrackChangesListResult = {
|
|
|
100733
101078
|
rsids?: Array<string>;
|
|
100734
101079
|
};
|
|
100735
101080
|
}>;
|
|
100736
|
-
}
|
|
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
|
+
});
|
|
100737
101099
|
author?: string;
|
|
100738
101100
|
authorEmail?: string;
|
|
100739
101101
|
authorImage?: string;
|
|
@@ -101023,8 +101385,9 @@ export type DocTrackChangesGetResult = {
|
|
|
101023
101385
|
format?: string;
|
|
101024
101386
|
};
|
|
101025
101387
|
revisionGroupId?: string;
|
|
101026
|
-
reviewGroup?: {
|
|
101388
|
+
reviewGroup?: ({
|
|
101027
101389
|
kind: "text-rewrite";
|
|
101390
|
+
groupOrigin: "authored-operation";
|
|
101028
101391
|
role: "parent" | "child";
|
|
101029
101392
|
parentId?: string;
|
|
101030
101393
|
childChangeIds: Array<string>;
|
|
@@ -101039,7 +101402,24 @@ export type DocTrackChangesGetResult = {
|
|
|
101039
101402
|
rsids?: Array<string>;
|
|
101040
101403
|
};
|
|
101041
101404
|
}>;
|
|
101042
|
-
}
|
|
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
|
+
});
|
|
101043
101423
|
splitFromId?: string | null;
|
|
101044
101424
|
replacement?: {
|
|
101045
101425
|
inserted: ({
|
|
@@ -103070,6 +103450,309 @@ export type DocSelectionCurrentResult = {
|
|
|
103070
103450
|
activeChangeIds: Array<string>;
|
|
103071
103451
|
text?: string;
|
|
103072
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
|
+
};
|
|
103073
103756
|
export type DocMutationsPreviewResult = {
|
|
103074
103757
|
evaluatedRevision: string;
|
|
103075
103758
|
steps: Array<Record<string, unknown>>;
|
|
@@ -104573,6 +105256,12 @@ export type DocCapabilitiesGetResult = {
|
|
|
104573
105256
|
dryRun: boolean;
|
|
104574
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">;
|
|
104575
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
|
+
};
|
|
104576
105265
|
"mutations.preview": {
|
|
104577
105266
|
available: boolean;
|
|
104578
105267
|
tracked: boolean;
|
|
@@ -105251,6 +105940,12 @@ export type DocCapabilitiesGetResult = {
|
|
|
105251
105940
|
dryRun: boolean;
|
|
105252
105941
|
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">;
|
|
105253
105942
|
};
|
|
105943
|
+
"watermarks.apply": {
|
|
105944
|
+
available: boolean;
|
|
105945
|
+
tracked: boolean;
|
|
105946
|
+
dryRun: boolean;
|
|
105947
|
+
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">;
|
|
105948
|
+
};
|
|
105254
105949
|
"watermarks.list": {
|
|
105255
105950
|
available: boolean;
|
|
105256
105951
|
tracked: boolean;
|
|
@@ -108279,7 +108974,7 @@ export type DocCapabilitiesCheckResult = ({
|
|
|
108279
108974
|
};
|
|
108280
108975
|
});
|
|
108281
108976
|
export type DocCapabilitiesResolveResult = {
|
|
108282
|
-
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.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";
|
|
108283
108978
|
available: ({
|
|
108284
108979
|
kind: "supported";
|
|
108285
108980
|
}) | ({
|
|
@@ -112175,6 +112870,98 @@ export type DocHeaderFootersPartsDeleteResult = {
|
|
|
112175
112870
|
refId: string;
|
|
112176
112871
|
partPath: string;
|
|
112177
112872
|
};
|
|
112873
|
+
export type DocWatermarksApplyResult = {
|
|
112874
|
+
success: true;
|
|
112875
|
+
watermarks: Array<{
|
|
112876
|
+
watermarkId: string;
|
|
112877
|
+
owner: {
|
|
112878
|
+
refId: string;
|
|
112879
|
+
partPath: string;
|
|
112880
|
+
};
|
|
112881
|
+
effectiveIn: Array<{
|
|
112882
|
+
kind: "headerFooterSlot";
|
|
112883
|
+
section: {
|
|
112884
|
+
kind: "section";
|
|
112885
|
+
sectionId: string;
|
|
112886
|
+
};
|
|
112887
|
+
headerFooterKind: "header";
|
|
112888
|
+
variant: "default" | "first" | "even";
|
|
112889
|
+
}>;
|
|
112890
|
+
watermark: ({
|
|
112891
|
+
kind: "text";
|
|
112892
|
+
text: string;
|
|
112893
|
+
fontFamily?: string;
|
|
112894
|
+
fontSizePt?: "auto" | number;
|
|
112895
|
+
bold?: boolean;
|
|
112896
|
+
italic?: boolean;
|
|
112897
|
+
color?: string;
|
|
112898
|
+
opacity?: number;
|
|
112899
|
+
orientation?: "horizontal" | "diagonal";
|
|
112900
|
+
placement?: {
|
|
112901
|
+
widthPt?: number;
|
|
112902
|
+
heightPt?: number;
|
|
112903
|
+
rotationDegrees?: number;
|
|
112904
|
+
behindText?: boolean;
|
|
112905
|
+
horizontal?: {
|
|
112906
|
+
relativeFrom: "page" | "margin";
|
|
112907
|
+
alignment?: "left" | "center" | "right";
|
|
112908
|
+
offsetPt?: number;
|
|
112909
|
+
};
|
|
112910
|
+
vertical?: {
|
|
112911
|
+
relativeFrom: "page" | "margin";
|
|
112912
|
+
alignment?: "top" | "center" | "bottom";
|
|
112913
|
+
offsetPt?: number;
|
|
112914
|
+
};
|
|
112915
|
+
};
|
|
112916
|
+
}) | ({
|
|
112917
|
+
kind: "picture";
|
|
112918
|
+
mediaPartPath: string;
|
|
112919
|
+
contentType: string;
|
|
112920
|
+
scalePercent: "auto" | 50 | 100 | 150 | 200 | 500;
|
|
112921
|
+
widthPt: number;
|
|
112922
|
+
heightPt: number;
|
|
112923
|
+
lockAspectRatio: boolean;
|
|
112924
|
+
washout: boolean;
|
|
112925
|
+
opacity: number;
|
|
112926
|
+
placement: {
|
|
112927
|
+
widthPt?: number;
|
|
112928
|
+
heightPt?: number;
|
|
112929
|
+
rotationDegrees?: number;
|
|
112930
|
+
behindText?: boolean;
|
|
112931
|
+
horizontal?: {
|
|
112932
|
+
relativeFrom: "page" | "margin";
|
|
112933
|
+
alignment?: "left" | "center" | "right";
|
|
112934
|
+
offsetPt?: number;
|
|
112935
|
+
};
|
|
112936
|
+
vertical?: {
|
|
112937
|
+
relativeFrom: "page" | "margin";
|
|
112938
|
+
alignment?: "top" | "center" | "bottom";
|
|
112939
|
+
offsetPt?: number;
|
|
112940
|
+
};
|
|
112941
|
+
};
|
|
112942
|
+
});
|
|
112943
|
+
}>;
|
|
112944
|
+
affectedSlots: Array<{
|
|
112945
|
+
kind: "headerFooterSlot";
|
|
112946
|
+
section: {
|
|
112947
|
+
kind: "section";
|
|
112948
|
+
sectionId: string;
|
|
112949
|
+
};
|
|
112950
|
+
headerFooterKind: "header";
|
|
112951
|
+
variant: "default" | "first" | "even";
|
|
112952
|
+
}>;
|
|
112953
|
+
preservedSlots: Array<{
|
|
112954
|
+
kind: "headerFooterSlot";
|
|
112955
|
+
section: {
|
|
112956
|
+
kind: "section";
|
|
112957
|
+
sectionId: string;
|
|
112958
|
+
};
|
|
112959
|
+
headerFooterKind: "header";
|
|
112960
|
+
variant: "default" | "first" | "even";
|
|
112961
|
+
}>;
|
|
112962
|
+
evaluatedRevision: string;
|
|
112963
|
+
dryRun?: true;
|
|
112964
|
+
};
|
|
112178
112965
|
export type DocWatermarksListResult = {
|
|
112179
112966
|
evaluatedRevision: string;
|
|
112180
112967
|
total: number;
|
|
@@ -121999,7 +122786,7 @@ export type DocDiffCompareResult = {
|
|
|
121999
122786
|
direct: {
|
|
122000
122787
|
status: "candidate" | "blocked";
|
|
122001
122788
|
blockers: Array<{
|
|
122002
|
-
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";
|
|
122003
122790
|
message: string;
|
|
122004
122791
|
families?: Array<string>;
|
|
122005
122792
|
}>;
|
|
@@ -122007,12 +122794,18 @@ export type DocDiffCompareResult = {
|
|
|
122007
122794
|
tracked: {
|
|
122008
122795
|
status: "candidate" | "blocked";
|
|
122009
122796
|
blockers: Array<{
|
|
122010
|
-
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";
|
|
122011
122798
|
message: string;
|
|
122012
122799
|
families?: Array<string>;
|
|
122013
122800
|
}>;
|
|
122014
122801
|
};
|
|
122015
122802
|
};
|
|
122803
|
+
partChanges?: Array<{
|
|
122804
|
+
partUri: string;
|
|
122805
|
+
kind: "added" | "removed" | "modified";
|
|
122806
|
+
beforeFingerprint: unknown;
|
|
122807
|
+
afterFingerprint: unknown;
|
|
122808
|
+
}>;
|
|
122016
122809
|
payload: Record<string, unknown>;
|
|
122017
122810
|
};
|
|
122018
122811
|
export type DocDiffApplyResult = {
|
|
@@ -141164,67 +141957,271 @@ export interface DocQueryMatchBoundParams {
|
|
|
141164
141957
|
storyType: "textbox";
|
|
141165
141958
|
textboxId: string;
|
|
141166
141959
|
});
|
|
141167
|
-
select: ({
|
|
141168
|
-
type: "text";
|
|
141169
|
-
pattern: string;
|
|
141170
|
-
mode?: "contains" | "regex";
|
|
141171
|
-
caseSensitive?: boolean;
|
|
141172
|
-
wholeWord?: boolean;
|
|
141173
|
-
includeDeletedText?: boolean;
|
|
141174
|
-
}) | ({
|
|
141175
|
-
type: "node";
|
|
141176
|
-
nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
|
|
141177
|
-
kind?: "block" | "inline";
|
|
141178
|
-
});
|
|
141179
|
-
within?: {
|
|
141180
|
-
kind: "block";
|
|
141181
|
-
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
141182
|
-
nodeId: string;
|
|
141183
|
-
story?: ({
|
|
141184
|
-
kind: "story";
|
|
141185
|
-
storyType: "body";
|
|
141186
|
-
}) | ({
|
|
141187
|
-
kind: "story";
|
|
141188
|
-
storyType: "headerFooterSlot";
|
|
141189
|
-
section: {
|
|
141190
|
-
kind: "section";
|
|
141191
|
-
sectionId: string;
|
|
141192
|
-
};
|
|
141193
|
-
headerFooterKind: "header" | "footer";
|
|
141194
|
-
variant: "default" | "first" | "even";
|
|
141195
|
-
resolution?: "effective" | "explicit";
|
|
141196
|
-
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
141197
|
-
}) | ({
|
|
141198
|
-
kind: "story";
|
|
141199
|
-
storyType: "headerFooterPart";
|
|
141200
|
-
refId: string;
|
|
141201
|
-
}) | ({
|
|
141202
|
-
kind: "story";
|
|
141203
|
-
storyType: "footnote";
|
|
141204
|
-
noteId: string;
|
|
141205
|
-
}) | ({
|
|
141206
|
-
kind: "story";
|
|
141207
|
-
storyType: "endnote";
|
|
141208
|
-
noteId: string;
|
|
141209
|
-
}) | ({
|
|
141210
|
-
kind: "story";
|
|
141211
|
-
storyType: "textbox";
|
|
141212
|
-
textboxId: string;
|
|
141213
|
-
});
|
|
141214
|
-
};
|
|
141215
|
-
require?: string;
|
|
141216
|
-
mode?: string;
|
|
141217
|
-
includeNodes?: boolean;
|
|
141218
|
-
limit?: number;
|
|
141219
|
-
offset?: number;
|
|
141960
|
+
select: ({
|
|
141961
|
+
type: "text";
|
|
141962
|
+
pattern: string;
|
|
141963
|
+
mode?: "contains" | "regex";
|
|
141964
|
+
caseSensitive?: boolean;
|
|
141965
|
+
wholeWord?: boolean;
|
|
141966
|
+
includeDeletedText?: boolean;
|
|
141967
|
+
}) | ({
|
|
141968
|
+
type: "node";
|
|
141969
|
+
nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
|
|
141970
|
+
kind?: "block" | "inline";
|
|
141971
|
+
});
|
|
141972
|
+
within?: {
|
|
141973
|
+
kind: "block";
|
|
141974
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
141975
|
+
nodeId: string;
|
|
141976
|
+
story?: ({
|
|
141977
|
+
kind: "story";
|
|
141978
|
+
storyType: "body";
|
|
141979
|
+
}) | ({
|
|
141980
|
+
kind: "story";
|
|
141981
|
+
storyType: "headerFooterSlot";
|
|
141982
|
+
section: {
|
|
141983
|
+
kind: "section";
|
|
141984
|
+
sectionId: string;
|
|
141985
|
+
};
|
|
141986
|
+
headerFooterKind: "header" | "footer";
|
|
141987
|
+
variant: "default" | "first" | "even";
|
|
141988
|
+
resolution?: "effective" | "explicit";
|
|
141989
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
141990
|
+
}) | ({
|
|
141991
|
+
kind: "story";
|
|
141992
|
+
storyType: "headerFooterPart";
|
|
141993
|
+
refId: string;
|
|
141994
|
+
}) | ({
|
|
141995
|
+
kind: "story";
|
|
141996
|
+
storyType: "footnote";
|
|
141997
|
+
noteId: string;
|
|
141998
|
+
}) | ({
|
|
141999
|
+
kind: "story";
|
|
142000
|
+
storyType: "endnote";
|
|
142001
|
+
noteId: string;
|
|
142002
|
+
}) | ({
|
|
142003
|
+
kind: "story";
|
|
142004
|
+
storyType: "textbox";
|
|
142005
|
+
textboxId: string;
|
|
142006
|
+
});
|
|
142007
|
+
};
|
|
142008
|
+
require?: string;
|
|
142009
|
+
mode?: string;
|
|
142010
|
+
includeNodes?: boolean;
|
|
142011
|
+
limit?: number;
|
|
142012
|
+
offset?: number;
|
|
142013
|
+
}
|
|
142014
|
+
export interface DocRangesResolveBoundParams {
|
|
142015
|
+
start: ({
|
|
142016
|
+
kind: "document";
|
|
142017
|
+
edge: "start" | "end";
|
|
142018
|
+
}) | ({
|
|
142019
|
+
kind: "point";
|
|
142020
|
+
point: ({
|
|
142021
|
+
kind: "text";
|
|
142022
|
+
blockId: string;
|
|
142023
|
+
offset: number;
|
|
142024
|
+
story?: ({
|
|
142025
|
+
kind: "story";
|
|
142026
|
+
storyType: "body";
|
|
142027
|
+
}) | ({
|
|
142028
|
+
kind: "story";
|
|
142029
|
+
storyType: "headerFooterSlot";
|
|
142030
|
+
section: {
|
|
142031
|
+
kind: "section";
|
|
142032
|
+
sectionId: string;
|
|
142033
|
+
};
|
|
142034
|
+
headerFooterKind: "header" | "footer";
|
|
142035
|
+
variant: "default" | "first" | "even";
|
|
142036
|
+
resolution?: "effective" | "explicit";
|
|
142037
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
142038
|
+
}) | ({
|
|
142039
|
+
kind: "story";
|
|
142040
|
+
storyType: "headerFooterPart";
|
|
142041
|
+
refId: string;
|
|
142042
|
+
}) | ({
|
|
142043
|
+
kind: "story";
|
|
142044
|
+
storyType: "footnote";
|
|
142045
|
+
noteId: string;
|
|
142046
|
+
}) | ({
|
|
142047
|
+
kind: "story";
|
|
142048
|
+
storyType: "endnote";
|
|
142049
|
+
noteId: string;
|
|
142050
|
+
}) | ({
|
|
142051
|
+
kind: "story";
|
|
142052
|
+
storyType: "textbox";
|
|
142053
|
+
textboxId: string;
|
|
142054
|
+
});
|
|
142055
|
+
}) | ({
|
|
142056
|
+
kind: "nodeEdge";
|
|
142057
|
+
node: {
|
|
142058
|
+
kind: "block";
|
|
142059
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableOfContents" | "sdt" | "image";
|
|
142060
|
+
nodeId: string;
|
|
142061
|
+
story?: ({
|
|
142062
|
+
kind: "story";
|
|
142063
|
+
storyType: "body";
|
|
142064
|
+
}) | ({
|
|
142065
|
+
kind: "story";
|
|
142066
|
+
storyType: "headerFooterSlot";
|
|
142067
|
+
section: {
|
|
142068
|
+
kind: "section";
|
|
142069
|
+
sectionId: string;
|
|
142070
|
+
};
|
|
142071
|
+
headerFooterKind: "header" | "footer";
|
|
142072
|
+
variant: "default" | "first" | "even";
|
|
142073
|
+
resolution?: "effective" | "explicit";
|
|
142074
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
142075
|
+
}) | ({
|
|
142076
|
+
kind: "story";
|
|
142077
|
+
storyType: "headerFooterPart";
|
|
142078
|
+
refId: string;
|
|
142079
|
+
}) | ({
|
|
142080
|
+
kind: "story";
|
|
142081
|
+
storyType: "footnote";
|
|
142082
|
+
noteId: string;
|
|
142083
|
+
}) | ({
|
|
142084
|
+
kind: "story";
|
|
142085
|
+
storyType: "endnote";
|
|
142086
|
+
noteId: string;
|
|
142087
|
+
}) | ({
|
|
142088
|
+
kind: "story";
|
|
142089
|
+
storyType: "textbox";
|
|
142090
|
+
textboxId: string;
|
|
142091
|
+
});
|
|
142092
|
+
};
|
|
142093
|
+
edge: "before" | "after";
|
|
142094
|
+
});
|
|
142095
|
+
}) | ({
|
|
142096
|
+
kind: "ref";
|
|
142097
|
+
ref: string;
|
|
142098
|
+
boundary: "start" | "end";
|
|
142099
|
+
});
|
|
142100
|
+
end: ({
|
|
142101
|
+
kind: "document";
|
|
142102
|
+
edge: "start" | "end";
|
|
142103
|
+
}) | ({
|
|
142104
|
+
kind: "point";
|
|
142105
|
+
point: ({
|
|
142106
|
+
kind: "text";
|
|
142107
|
+
blockId: string;
|
|
142108
|
+
offset: number;
|
|
142109
|
+
story?: ({
|
|
142110
|
+
kind: "story";
|
|
142111
|
+
storyType: "body";
|
|
142112
|
+
}) | ({
|
|
142113
|
+
kind: "story";
|
|
142114
|
+
storyType: "headerFooterSlot";
|
|
142115
|
+
section: {
|
|
142116
|
+
kind: "section";
|
|
142117
|
+
sectionId: string;
|
|
142118
|
+
};
|
|
142119
|
+
headerFooterKind: "header" | "footer";
|
|
142120
|
+
variant: "default" | "first" | "even";
|
|
142121
|
+
resolution?: "effective" | "explicit";
|
|
142122
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
142123
|
+
}) | ({
|
|
142124
|
+
kind: "story";
|
|
142125
|
+
storyType: "headerFooterPart";
|
|
142126
|
+
refId: string;
|
|
142127
|
+
}) | ({
|
|
142128
|
+
kind: "story";
|
|
142129
|
+
storyType: "footnote";
|
|
142130
|
+
noteId: string;
|
|
142131
|
+
}) | ({
|
|
142132
|
+
kind: "story";
|
|
142133
|
+
storyType: "endnote";
|
|
142134
|
+
noteId: string;
|
|
142135
|
+
}) | ({
|
|
142136
|
+
kind: "story";
|
|
142137
|
+
storyType: "textbox";
|
|
142138
|
+
textboxId: string;
|
|
142139
|
+
});
|
|
142140
|
+
}) | ({
|
|
142141
|
+
kind: "nodeEdge";
|
|
142142
|
+
node: {
|
|
142143
|
+
kind: "block";
|
|
142144
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableOfContents" | "sdt" | "image";
|
|
142145
|
+
nodeId: string;
|
|
142146
|
+
story?: ({
|
|
142147
|
+
kind: "story";
|
|
142148
|
+
storyType: "body";
|
|
142149
|
+
}) | ({
|
|
142150
|
+
kind: "story";
|
|
142151
|
+
storyType: "headerFooterSlot";
|
|
142152
|
+
section: {
|
|
142153
|
+
kind: "section";
|
|
142154
|
+
sectionId: string;
|
|
142155
|
+
};
|
|
142156
|
+
headerFooterKind: "header" | "footer";
|
|
142157
|
+
variant: "default" | "first" | "even";
|
|
142158
|
+
resolution?: "effective" | "explicit";
|
|
142159
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
142160
|
+
}) | ({
|
|
142161
|
+
kind: "story";
|
|
142162
|
+
storyType: "headerFooterPart";
|
|
142163
|
+
refId: string;
|
|
142164
|
+
}) | ({
|
|
142165
|
+
kind: "story";
|
|
142166
|
+
storyType: "footnote";
|
|
142167
|
+
noteId: string;
|
|
142168
|
+
}) | ({
|
|
142169
|
+
kind: "story";
|
|
142170
|
+
storyType: "endnote";
|
|
142171
|
+
noteId: string;
|
|
142172
|
+
}) | ({
|
|
142173
|
+
kind: "story";
|
|
142174
|
+
storyType: "textbox";
|
|
142175
|
+
textboxId: string;
|
|
142176
|
+
});
|
|
142177
|
+
};
|
|
142178
|
+
edge: "before" | "after";
|
|
142179
|
+
});
|
|
142180
|
+
}) | ({
|
|
142181
|
+
kind: "ref";
|
|
142182
|
+
ref: string;
|
|
142183
|
+
boundary: "start" | "end";
|
|
142184
|
+
});
|
|
142185
|
+
in?: ({
|
|
142186
|
+
kind: "story";
|
|
142187
|
+
storyType: "body";
|
|
142188
|
+
}) | ({
|
|
142189
|
+
kind: "story";
|
|
142190
|
+
storyType: "headerFooterSlot";
|
|
142191
|
+
section: {
|
|
142192
|
+
kind: "section";
|
|
142193
|
+
sectionId: string;
|
|
142194
|
+
};
|
|
142195
|
+
headerFooterKind: "header" | "footer";
|
|
142196
|
+
variant: "default" | "first" | "even";
|
|
142197
|
+
resolution?: "effective" | "explicit";
|
|
142198
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
142199
|
+
}) | ({
|
|
142200
|
+
kind: "story";
|
|
142201
|
+
storyType: "headerFooterPart";
|
|
142202
|
+
refId: string;
|
|
142203
|
+
}) | ({
|
|
142204
|
+
kind: "story";
|
|
142205
|
+
storyType: "footnote";
|
|
142206
|
+
noteId: string;
|
|
142207
|
+
}) | ({
|
|
142208
|
+
kind: "story";
|
|
142209
|
+
storyType: "endnote";
|
|
142210
|
+
noteId: string;
|
|
142211
|
+
}) | ({
|
|
142212
|
+
kind: "story";
|
|
142213
|
+
storyType: "textbox";
|
|
142214
|
+
textboxId: string;
|
|
142215
|
+
});
|
|
142216
|
+
expectedRevision?: string;
|
|
141220
142217
|
}
|
|
141221
|
-
export interface
|
|
141222
|
-
|
|
141223
|
-
|
|
141224
|
-
|
|
141225
|
-
|
|
141226
|
-
kind: "
|
|
141227
|
-
|
|
142218
|
+
export interface DocSelectionCurrentBoundParams {
|
|
142219
|
+
includeText?: boolean;
|
|
142220
|
+
}
|
|
142221
|
+
export interface DocSelectionExtractOoxmlBoundParams {
|
|
142222
|
+
at?: ({
|
|
142223
|
+
kind: "selection";
|
|
142224
|
+
start: ({
|
|
141228
142225
|
kind: "text";
|
|
141229
142226
|
blockId: string;
|
|
141230
142227
|
offset: number;
|
|
@@ -141299,17 +142296,7 @@ export interface DocRangesResolveBoundParams {
|
|
|
141299
142296
|
};
|
|
141300
142297
|
edge: "before" | "after";
|
|
141301
142298
|
});
|
|
141302
|
-
|
|
141303
|
-
kind: "ref";
|
|
141304
|
-
ref: string;
|
|
141305
|
-
boundary: "start" | "end";
|
|
141306
|
-
});
|
|
141307
|
-
end: ({
|
|
141308
|
-
kind: "document";
|
|
141309
|
-
edge: "start" | "end";
|
|
141310
|
-
}) | ({
|
|
141311
|
-
kind: "point";
|
|
141312
|
-
point: ({
|
|
142299
|
+
end: ({
|
|
141313
142300
|
kind: "text";
|
|
141314
142301
|
blockId: string;
|
|
141315
142302
|
offset: number;
|
|
@@ -141384,46 +142371,82 @@ export interface DocRangesResolveBoundParams {
|
|
|
141384
142371
|
};
|
|
141385
142372
|
edge: "before" | "after";
|
|
141386
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";
|
|
141387
142406
|
}) | ({
|
|
141388
|
-
kind: "
|
|
141389
|
-
|
|
141390
|
-
|
|
141391
|
-
|
|
141392
|
-
|
|
141393
|
-
kind: "story";
|
|
141394
|
-
storyType: "body";
|
|
141395
|
-
}) | ({
|
|
141396
|
-
kind: "story";
|
|
141397
|
-
storyType: "headerFooterSlot";
|
|
141398
|
-
section: {
|
|
141399
|
-
kind: "section";
|
|
141400
|
-
sectionId: string;
|
|
142407
|
+
kind: "tableCells";
|
|
142408
|
+
tableId: string;
|
|
142409
|
+
start: {
|
|
142410
|
+
rowIndex: number;
|
|
142411
|
+
columnIndex: number;
|
|
141401
142412
|
};
|
|
141402
|
-
|
|
141403
|
-
|
|
141404
|
-
|
|
141405
|
-
|
|
141406
|
-
|
|
141407
|
-
|
|
141408
|
-
|
|
141409
|
-
|
|
141410
|
-
|
|
141411
|
-
|
|
141412
|
-
|
|
141413
|
-
|
|
141414
|
-
|
|
141415
|
-
|
|
141416
|
-
|
|
141417
|
-
|
|
141418
|
-
|
|
141419
|
-
|
|
141420
|
-
|
|
141421
|
-
|
|
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
|
+
});
|
|
141422
142448
|
});
|
|
141423
|
-
|
|
141424
|
-
}
|
|
141425
|
-
export interface DocSelectionCurrentBoundParams {
|
|
141426
|
-
includeText?: boolean;
|
|
142449
|
+
selection?: "current";
|
|
141427
142450
|
}
|
|
141428
142451
|
export interface DocMutationsPreviewBoundParams {
|
|
141429
142452
|
in?: ({
|
|
@@ -147381,6 +148404,110 @@ export interface DocHeaderFootersPartsDeleteBoundParams {
|
|
|
147381
148404
|
refId: string;
|
|
147382
148405
|
};
|
|
147383
148406
|
}
|
|
148407
|
+
export interface DocWatermarksApplyBoundParams {
|
|
148408
|
+
out?: string;
|
|
148409
|
+
force?: boolean;
|
|
148410
|
+
expectedRevision?: string;
|
|
148411
|
+
changeMode?: string;
|
|
148412
|
+
dryRun?: boolean;
|
|
148413
|
+
target: ({
|
|
148414
|
+
kind: "document";
|
|
148415
|
+
}) | ({
|
|
148416
|
+
kind: "headerFooterSlots";
|
|
148417
|
+
slots: Array<{
|
|
148418
|
+
kind: "headerFooterSlot";
|
|
148419
|
+
section: {
|
|
148420
|
+
kind: "section";
|
|
148421
|
+
sectionId: string;
|
|
148422
|
+
};
|
|
148423
|
+
headerFooterKind: "header";
|
|
148424
|
+
variant: "default" | "first" | "even";
|
|
148425
|
+
}>;
|
|
148426
|
+
});
|
|
148427
|
+
action: string;
|
|
148428
|
+
watermark?: ({
|
|
148429
|
+
kind: "text";
|
|
148430
|
+
text: string;
|
|
148431
|
+
fontFamily?: string;
|
|
148432
|
+
fontSizePt?: "auto" | number;
|
|
148433
|
+
bold?: boolean;
|
|
148434
|
+
italic?: boolean;
|
|
148435
|
+
color?: string;
|
|
148436
|
+
opacity?: number;
|
|
148437
|
+
orientation?: "horizontal" | "diagonal";
|
|
148438
|
+
placement?: {
|
|
148439
|
+
widthPt?: number;
|
|
148440
|
+
heightPt?: number;
|
|
148441
|
+
rotationDegrees?: number;
|
|
148442
|
+
behindText?: boolean;
|
|
148443
|
+
horizontal?: {
|
|
148444
|
+
relativeFrom: "page" | "margin";
|
|
148445
|
+
alignment?: "left" | "center" | "right";
|
|
148446
|
+
offsetPt?: number;
|
|
148447
|
+
};
|
|
148448
|
+
vertical?: {
|
|
148449
|
+
relativeFrom: "page" | "margin";
|
|
148450
|
+
alignment?: "top" | "center" | "bottom";
|
|
148451
|
+
offsetPt?: number;
|
|
148452
|
+
};
|
|
148453
|
+
};
|
|
148454
|
+
}) | ({
|
|
148455
|
+
kind: "picture";
|
|
148456
|
+
src: string;
|
|
148457
|
+
scalePercent?: "auto" | 50 | 100 | 150 | 200 | 500;
|
|
148458
|
+
widthPt?: number;
|
|
148459
|
+
heightPt?: number;
|
|
148460
|
+
lockAspectRatio?: boolean;
|
|
148461
|
+
washout?: boolean;
|
|
148462
|
+
opacity?: number;
|
|
148463
|
+
placement?: {
|
|
148464
|
+
widthPt?: number;
|
|
148465
|
+
heightPt?: number;
|
|
148466
|
+
rotationDegrees?: number;
|
|
148467
|
+
behindText?: boolean;
|
|
148468
|
+
horizontal?: {
|
|
148469
|
+
relativeFrom: "page" | "margin";
|
|
148470
|
+
alignment?: "left" | "center" | "right";
|
|
148471
|
+
offsetPt?: number;
|
|
148472
|
+
};
|
|
148473
|
+
vertical?: {
|
|
148474
|
+
relativeFrom: "page" | "margin";
|
|
148475
|
+
alignment?: "top" | "center" | "bottom";
|
|
148476
|
+
offsetPt?: number;
|
|
148477
|
+
};
|
|
148478
|
+
};
|
|
148479
|
+
}) | ({
|
|
148480
|
+
kind: "picture";
|
|
148481
|
+
src?: unknown;
|
|
148482
|
+
scalePercent?: "auto" | 50 | 100 | 150 | 200 | 500;
|
|
148483
|
+
widthPt?: number;
|
|
148484
|
+
heightPt?: number;
|
|
148485
|
+
lockAspectRatio?: boolean;
|
|
148486
|
+
washout?: boolean;
|
|
148487
|
+
opacity?: number;
|
|
148488
|
+
placement?: {
|
|
148489
|
+
widthPt?: number;
|
|
148490
|
+
heightPt?: number;
|
|
148491
|
+
rotationDegrees?: number;
|
|
148492
|
+
behindText?: boolean;
|
|
148493
|
+
horizontal?: {
|
|
148494
|
+
relativeFrom: "page" | "margin";
|
|
148495
|
+
alignment?: "left" | "center" | "right";
|
|
148496
|
+
offsetPt?: number;
|
|
148497
|
+
};
|
|
148498
|
+
vertical?: {
|
|
148499
|
+
relativeFrom: "page" | "margin";
|
|
148500
|
+
alignment?: "top" | "center" | "bottom";
|
|
148501
|
+
offsetPt?: number;
|
|
148502
|
+
};
|
|
148503
|
+
};
|
|
148504
|
+
source: {
|
|
148505
|
+
kind: "existing";
|
|
148506
|
+
watermarkId: string;
|
|
148507
|
+
};
|
|
148508
|
+
});
|
|
148509
|
+
watermarkIds?: string[];
|
|
148510
|
+
}
|
|
147384
148511
|
export interface DocWatermarksListBoundParams {
|
|
147385
148512
|
target?: ({
|
|
147386
148513
|
kind: "document";
|
|
@@ -151904,7 +153031,7 @@ export interface DocDiffApplyBoundParams {
|
|
|
151904
153031
|
direct: {
|
|
151905
153032
|
status: "candidate" | "blocked";
|
|
151906
153033
|
blockers: Array<{
|
|
151907
|
-
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";
|
|
151908
153035
|
message: string;
|
|
151909
153036
|
families?: Array<string>;
|
|
151910
153037
|
}>;
|
|
@@ -151912,12 +153039,18 @@ export interface DocDiffApplyBoundParams {
|
|
|
151912
153039
|
tracked: {
|
|
151913
153040
|
status: "candidate" | "blocked";
|
|
151914
153041
|
blockers: Array<{
|
|
151915
|
-
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";
|
|
151916
153043
|
message: string;
|
|
151917
153044
|
families?: Array<string>;
|
|
151918
153045
|
}>;
|
|
151919
153046
|
};
|
|
151920
153047
|
};
|
|
153048
|
+
partChanges?: Array<{
|
|
153049
|
+
partUri: string;
|
|
153050
|
+
kind: "added" | "removed" | "modified";
|
|
153051
|
+
beforeFingerprint: unknown;
|
|
153052
|
+
afterFingerprint: unknown;
|
|
153053
|
+
}>;
|
|
151921
153054
|
payload: Record<string, unknown>;
|
|
151922
153055
|
};
|
|
151923
153056
|
}
|
|
@@ -152893,6 +154026,7 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
|
|
|
152893
154026
|
};
|
|
152894
154027
|
selection: {
|
|
152895
154028
|
current: (params?: DocSelectionCurrentParams, options?: InvokeOptions) => Promise<DocSelectionCurrentResult>;
|
|
154029
|
+
extractOoxml: (params?: DocSelectionExtractOoxmlParams, options?: InvokeOptions) => Promise<DocSelectionExtractOoxmlResult>;
|
|
152896
154030
|
};
|
|
152897
154031
|
mutations: {
|
|
152898
154032
|
preview: (params: DocMutationsPreviewParams, options?: InvokeOptions) => Promise<DocMutationsPreviewResult>;
|
|
@@ -153027,6 +154161,7 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
|
|
|
153027
154161
|
};
|
|
153028
154162
|
};
|
|
153029
154163
|
watermarks: {
|
|
154164
|
+
apply: (params: DocWatermarksApplyParams, options?: InvokeOptions) => Promise<DocWatermarksApplyResult>;
|
|
153030
154165
|
list: (params?: DocWatermarksListParams, options?: InvokeOptions) => Promise<DocWatermarksListResult>;
|
|
153031
154166
|
insert: (params: DocWatermarksInsertParams, options?: InvokeOptions) => Promise<DocWatermarksInsertResult>;
|
|
153032
154167
|
replace: (params: DocWatermarksReplaceParams, options?: InvokeOptions) => Promise<DocWatermarksReplaceResult>;
|
|
@@ -153461,6 +154596,7 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
|
|
|
153461
154596
|
};
|
|
153462
154597
|
selection: {
|
|
153463
154598
|
current: (params?: DocSelectionCurrentBoundParams, options?: InvokeOptions) => Promise<DocSelectionCurrentResult>;
|
|
154599
|
+
extractOoxml: (params?: DocSelectionExtractOoxmlBoundParams, options?: InvokeOptions) => Promise<DocSelectionExtractOoxmlResult>;
|
|
153464
154600
|
};
|
|
153465
154601
|
mutations: {
|
|
153466
154602
|
preview: (params: DocMutationsPreviewBoundParams, options?: InvokeOptions) => Promise<DocMutationsPreviewResult>;
|
|
@@ -153595,6 +154731,7 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
|
|
|
153595
154731
|
};
|
|
153596
154732
|
};
|
|
153597
154733
|
watermarks: {
|
|
154734
|
+
apply: (params: DocWatermarksApplyBoundParams, options?: InvokeOptions) => Promise<DocWatermarksApplyResult>;
|
|
153598
154735
|
list: (params?: DocWatermarksListBoundParams, options?: InvokeOptions) => Promise<DocWatermarksListResult>;
|
|
153599
154736
|
insert: (params: DocWatermarksInsertBoundParams, options?: InvokeOptions) => Promise<DocWatermarksInsertResult>;
|
|
153600
154737
|
replace: (params: DocWatermarksReplaceBoundParams, options?: InvokeOptions) => Promise<DocWatermarksReplaceResult>;
|