@superdoc-dev/sdk 1.0.0-alpha.4 → 1.0.0-alpha.6
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 +116 -0
- package/dist/generated/client.d.ts +2 -0
- package/dist/generated/client.d.ts.map +1 -1
- package/dist/generated/contract.d.ts +34 -0
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +50 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/runtime/process.d.ts.map +1 -1
- package/dist/runtime/transport-common.d.ts.map +1 -1
- package/dist/runtime/transport-common.js +1 -3
- package/package.json +6 -6
- package/tools/catalog.json +1575 -1281
- package/tools/tools-policy.json +1 -1
- package/tools/tools.anthropic.json +1582 -1288
- package/tools/tools.generic.json +1575 -1281
- package/tools/tools.openai.json +1582 -1288
- package/tools/tools.vercel.json +1582 -1288
package/tools/tools.generic.json
CHANGED
|
@@ -6,204 +6,134 @@
|
|
|
6
6
|
"name": "find_content",
|
|
7
7
|
"description": "Search the document for nodes matching type, text, or attribute criteria.",
|
|
8
8
|
"parameters": {
|
|
9
|
-
"
|
|
9
|
+
"type": "object",
|
|
10
10
|
"properties": {
|
|
11
|
-
"
|
|
12
|
-
"type": "
|
|
13
|
-
},
|
|
14
|
-
"includeUnknown": {
|
|
15
|
-
"type": "boolean"
|
|
16
|
-
},
|
|
17
|
-
"limit": {
|
|
18
|
-
"type": "integer"
|
|
19
|
-
},
|
|
20
|
-
"offset": {
|
|
21
|
-
"type": "integer"
|
|
11
|
+
"doc": {
|
|
12
|
+
"type": "string"
|
|
22
13
|
},
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
{
|
|
26
|
-
"additionalProperties": false,
|
|
27
|
-
"properties": {
|
|
28
|
-
"caseSensitive": {
|
|
29
|
-
"type": "boolean"
|
|
30
|
-
},
|
|
31
|
-
"mode": {
|
|
32
|
-
"enum": [
|
|
33
|
-
"contains",
|
|
34
|
-
"regex"
|
|
35
|
-
]
|
|
36
|
-
},
|
|
37
|
-
"pattern": {
|
|
38
|
-
"type": "string"
|
|
39
|
-
},
|
|
40
|
-
"type": {
|
|
41
|
-
"const": "text"
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
"required": [
|
|
45
|
-
"type",
|
|
46
|
-
"pattern"
|
|
47
|
-
],
|
|
48
|
-
"type": "object"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"additionalProperties": false,
|
|
52
|
-
"properties": {
|
|
53
|
-
"kind": {
|
|
54
|
-
"enum": [
|
|
55
|
-
"block",
|
|
56
|
-
"inline"
|
|
57
|
-
]
|
|
58
|
-
},
|
|
59
|
-
"nodeType": {
|
|
60
|
-
"enum": [
|
|
61
|
-
"paragraph",
|
|
62
|
-
"heading",
|
|
63
|
-
"listItem",
|
|
64
|
-
"table",
|
|
65
|
-
"tableRow",
|
|
66
|
-
"tableCell",
|
|
67
|
-
"image",
|
|
68
|
-
"sdt",
|
|
69
|
-
"run",
|
|
70
|
-
"bookmark",
|
|
71
|
-
"comment",
|
|
72
|
-
"hyperlink",
|
|
73
|
-
"footnoteRef",
|
|
74
|
-
"tab",
|
|
75
|
-
"lineBreak"
|
|
76
|
-
]
|
|
77
|
-
},
|
|
78
|
-
"type": {
|
|
79
|
-
"const": "node"
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
"required": [
|
|
83
|
-
"type"
|
|
84
|
-
],
|
|
85
|
-
"type": "object"
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
"additionalProperties": false,
|
|
89
|
-
"properties": {
|
|
90
|
-
"nodeType": {
|
|
91
|
-
"enum": [
|
|
92
|
-
"paragraph",
|
|
93
|
-
"heading",
|
|
94
|
-
"listItem",
|
|
95
|
-
"table",
|
|
96
|
-
"tableRow",
|
|
97
|
-
"tableCell",
|
|
98
|
-
"image",
|
|
99
|
-
"sdt",
|
|
100
|
-
"run",
|
|
101
|
-
"bookmark",
|
|
102
|
-
"comment",
|
|
103
|
-
"hyperlink",
|
|
104
|
-
"footnoteRef",
|
|
105
|
-
"tab",
|
|
106
|
-
"lineBreak"
|
|
107
|
-
]
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
"required": [
|
|
111
|
-
"nodeType"
|
|
112
|
-
],
|
|
113
|
-
"type": "object"
|
|
114
|
-
}
|
|
115
|
-
]
|
|
14
|
+
"sessionId": {
|
|
15
|
+
"type": "string"
|
|
116
16
|
},
|
|
117
17
|
"within": {
|
|
118
18
|
"oneOf": [
|
|
119
19
|
{
|
|
120
|
-
"
|
|
20
|
+
"type": "object",
|
|
121
21
|
"properties": {
|
|
122
22
|
"kind": {
|
|
123
23
|
"const": "block"
|
|
124
24
|
},
|
|
125
|
-
"nodeId": {
|
|
126
|
-
"type": "string"
|
|
127
|
-
},
|
|
128
25
|
"nodeType": {
|
|
129
|
-
"
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
26
|
+
"oneOf": [
|
|
27
|
+
{
|
|
28
|
+
"const": "paragraph"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"const": "heading"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"const": "listItem"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"const": "table"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"const": "tableRow"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"const": "tableCell"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"const": "image"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"const": "sdt"
|
|
50
|
+
}
|
|
138
51
|
]
|
|
52
|
+
},
|
|
53
|
+
"nodeId": {
|
|
54
|
+
"type": "string"
|
|
139
55
|
}
|
|
140
56
|
},
|
|
141
57
|
"required": [
|
|
142
58
|
"kind",
|
|
143
59
|
"nodeType",
|
|
144
60
|
"nodeId"
|
|
145
|
-
]
|
|
146
|
-
"type": "object"
|
|
61
|
+
]
|
|
147
62
|
},
|
|
148
63
|
{
|
|
149
|
-
"
|
|
64
|
+
"type": "object",
|
|
150
65
|
"properties": {
|
|
66
|
+
"kind": {
|
|
67
|
+
"const": "inline"
|
|
68
|
+
},
|
|
69
|
+
"nodeType": {
|
|
70
|
+
"oneOf": [
|
|
71
|
+
{
|
|
72
|
+
"const": "run"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"const": "bookmark"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"const": "comment"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"const": "hyperlink"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"const": "sdt"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"const": "image"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"const": "footnoteRef"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"const": "tab"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"const": "lineBreak"
|
|
97
|
+
}
|
|
98
|
+
]
|
|
99
|
+
},
|
|
151
100
|
"anchor": {
|
|
152
|
-
"
|
|
101
|
+
"type": "object",
|
|
153
102
|
"properties": {
|
|
154
|
-
"
|
|
155
|
-
"
|
|
103
|
+
"start": {
|
|
104
|
+
"type": "object",
|
|
156
105
|
"properties": {
|
|
157
106
|
"blockId": {
|
|
158
107
|
"type": "string"
|
|
159
108
|
},
|
|
160
109
|
"offset": {
|
|
161
|
-
"type": "
|
|
110
|
+
"type": "number"
|
|
162
111
|
}
|
|
163
112
|
},
|
|
164
113
|
"required": [
|
|
165
114
|
"blockId",
|
|
166
115
|
"offset"
|
|
167
|
-
]
|
|
168
|
-
"type": "object"
|
|
116
|
+
]
|
|
169
117
|
},
|
|
170
|
-
"
|
|
171
|
-
"
|
|
118
|
+
"end": {
|
|
119
|
+
"type": "object",
|
|
172
120
|
"properties": {
|
|
173
121
|
"blockId": {
|
|
174
122
|
"type": "string"
|
|
175
123
|
},
|
|
176
124
|
"offset": {
|
|
177
|
-
"type": "
|
|
125
|
+
"type": "number"
|
|
178
126
|
}
|
|
179
127
|
},
|
|
180
128
|
"required": [
|
|
181
129
|
"blockId",
|
|
182
130
|
"offset"
|
|
183
|
-
]
|
|
184
|
-
"type": "object"
|
|
131
|
+
]
|
|
185
132
|
}
|
|
186
133
|
},
|
|
187
134
|
"required": [
|
|
188
135
|
"start",
|
|
189
136
|
"end"
|
|
190
|
-
],
|
|
191
|
-
"type": "object"
|
|
192
|
-
},
|
|
193
|
-
"kind": {
|
|
194
|
-
"const": "inline"
|
|
195
|
-
},
|
|
196
|
-
"nodeType": {
|
|
197
|
-
"enum": [
|
|
198
|
-
"run",
|
|
199
|
-
"bookmark",
|
|
200
|
-
"comment",
|
|
201
|
-
"hyperlink",
|
|
202
|
-
"sdt",
|
|
203
|
-
"image",
|
|
204
|
-
"footnoteRef",
|
|
205
|
-
"tab",
|
|
206
|
-
"lineBreak"
|
|
207
137
|
]
|
|
208
138
|
}
|
|
209
139
|
},
|
|
@@ -211,16 +141,43 @@
|
|
|
211
141
|
"kind",
|
|
212
142
|
"nodeType",
|
|
213
143
|
"anchor"
|
|
214
|
-
]
|
|
215
|
-
"type": "object"
|
|
144
|
+
]
|
|
216
145
|
}
|
|
217
146
|
]
|
|
218
|
-
}
|
|
147
|
+
},
|
|
148
|
+
"limit": {
|
|
149
|
+
"type": "number"
|
|
150
|
+
},
|
|
151
|
+
"offset": {
|
|
152
|
+
"type": "number"
|
|
153
|
+
},
|
|
154
|
+
"includeNodes": {
|
|
155
|
+
"type": "boolean"
|
|
156
|
+
},
|
|
157
|
+
"includeUnknown": {
|
|
158
|
+
"type": "boolean"
|
|
159
|
+
},
|
|
160
|
+
"type": {
|
|
161
|
+
"type": "string"
|
|
162
|
+
},
|
|
163
|
+
"nodeType": {
|
|
164
|
+
"type": "string"
|
|
165
|
+
},
|
|
166
|
+
"kind": {
|
|
167
|
+
"type": "string"
|
|
168
|
+
},
|
|
169
|
+
"pattern": {
|
|
170
|
+
"type": "string"
|
|
171
|
+
},
|
|
172
|
+
"mode": {
|
|
173
|
+
"type": "string"
|
|
174
|
+
},
|
|
175
|
+
"caseSensitive": {
|
|
176
|
+
"type": "boolean"
|
|
177
|
+
},
|
|
178
|
+
"query": {}
|
|
219
179
|
},
|
|
220
|
-
"
|
|
221
|
-
"select"
|
|
222
|
-
],
|
|
223
|
-
"type": "object"
|
|
180
|
+
"additionalProperties": false
|
|
224
181
|
},
|
|
225
182
|
"returns": {
|
|
226
183
|
"additionalProperties": false,
|
|
@@ -738,106 +695,17 @@
|
|
|
738
695
|
"name": "get_node",
|
|
739
696
|
"description": "Retrieve a single node by target position.",
|
|
740
697
|
"parameters": {
|
|
741
|
-
"
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
"
|
|
745
|
-
"kind": {
|
|
746
|
-
"const": "block"
|
|
747
|
-
},
|
|
748
|
-
"nodeId": {
|
|
749
|
-
"type": "string"
|
|
750
|
-
},
|
|
751
|
-
"nodeType": {
|
|
752
|
-
"enum": [
|
|
753
|
-
"paragraph",
|
|
754
|
-
"heading",
|
|
755
|
-
"listItem",
|
|
756
|
-
"table",
|
|
757
|
-
"tableRow",
|
|
758
|
-
"tableCell",
|
|
759
|
-
"image",
|
|
760
|
-
"sdt"
|
|
761
|
-
]
|
|
762
|
-
}
|
|
763
|
-
},
|
|
764
|
-
"required": [
|
|
765
|
-
"kind",
|
|
766
|
-
"nodeType",
|
|
767
|
-
"nodeId"
|
|
768
|
-
],
|
|
769
|
-
"type": "object"
|
|
698
|
+
"type": "object",
|
|
699
|
+
"properties": {
|
|
700
|
+
"doc": {
|
|
701
|
+
"type": "string"
|
|
770
702
|
},
|
|
771
|
-
{
|
|
772
|
-
"
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
"end": {
|
|
778
|
-
"additionalProperties": false,
|
|
779
|
-
"properties": {
|
|
780
|
-
"blockId": {
|
|
781
|
-
"type": "string"
|
|
782
|
-
},
|
|
783
|
-
"offset": {
|
|
784
|
-
"type": "integer"
|
|
785
|
-
}
|
|
786
|
-
},
|
|
787
|
-
"required": [
|
|
788
|
-
"blockId",
|
|
789
|
-
"offset"
|
|
790
|
-
],
|
|
791
|
-
"type": "object"
|
|
792
|
-
},
|
|
793
|
-
"start": {
|
|
794
|
-
"additionalProperties": false,
|
|
795
|
-
"properties": {
|
|
796
|
-
"blockId": {
|
|
797
|
-
"type": "string"
|
|
798
|
-
},
|
|
799
|
-
"offset": {
|
|
800
|
-
"type": "integer"
|
|
801
|
-
}
|
|
802
|
-
},
|
|
803
|
-
"required": [
|
|
804
|
-
"blockId",
|
|
805
|
-
"offset"
|
|
806
|
-
],
|
|
807
|
-
"type": "object"
|
|
808
|
-
}
|
|
809
|
-
},
|
|
810
|
-
"required": [
|
|
811
|
-
"start",
|
|
812
|
-
"end"
|
|
813
|
-
],
|
|
814
|
-
"type": "object"
|
|
815
|
-
},
|
|
816
|
-
"kind": {
|
|
817
|
-
"const": "inline"
|
|
818
|
-
},
|
|
819
|
-
"nodeType": {
|
|
820
|
-
"enum": [
|
|
821
|
-
"run",
|
|
822
|
-
"bookmark",
|
|
823
|
-
"comment",
|
|
824
|
-
"hyperlink",
|
|
825
|
-
"sdt",
|
|
826
|
-
"image",
|
|
827
|
-
"footnoteRef",
|
|
828
|
-
"tab",
|
|
829
|
-
"lineBreak"
|
|
830
|
-
]
|
|
831
|
-
}
|
|
832
|
-
},
|
|
833
|
-
"required": [
|
|
834
|
-
"kind",
|
|
835
|
-
"nodeType",
|
|
836
|
-
"anchor"
|
|
837
|
-
],
|
|
838
|
-
"type": "object"
|
|
839
|
-
}
|
|
840
|
-
]
|
|
703
|
+
"sessionId": {
|
|
704
|
+
"type": "string"
|
|
705
|
+
},
|
|
706
|
+
"address": {}
|
|
707
|
+
},
|
|
708
|
+
"additionalProperties": false
|
|
841
709
|
},
|
|
842
710
|
"returns": {
|
|
843
711
|
"additionalProperties": false,
|
|
@@ -929,28 +797,25 @@
|
|
|
929
797
|
"name": "get_node_by_id",
|
|
930
798
|
"description": "Retrieve a single node by its unique ID.",
|
|
931
799
|
"parameters": {
|
|
932
|
-
"
|
|
800
|
+
"type": "object",
|
|
933
801
|
"properties": {
|
|
934
|
-
"
|
|
802
|
+
"doc": {
|
|
803
|
+
"type": "string"
|
|
804
|
+
},
|
|
805
|
+
"sessionId": {
|
|
806
|
+
"type": "string"
|
|
807
|
+
},
|
|
808
|
+
"id": {
|
|
935
809
|
"type": "string"
|
|
936
810
|
},
|
|
937
811
|
"nodeType": {
|
|
938
|
-
"
|
|
939
|
-
"paragraph",
|
|
940
|
-
"heading",
|
|
941
|
-
"listItem",
|
|
942
|
-
"table",
|
|
943
|
-
"tableRow",
|
|
944
|
-
"tableCell",
|
|
945
|
-
"image",
|
|
946
|
-
"sdt"
|
|
947
|
-
]
|
|
812
|
+
"type": "string"
|
|
948
813
|
}
|
|
949
814
|
},
|
|
950
815
|
"required": [
|
|
951
|
-
"
|
|
816
|
+
"id"
|
|
952
817
|
],
|
|
953
|
-
"
|
|
818
|
+
"additionalProperties": false
|
|
954
819
|
},
|
|
955
820
|
"returns": {
|
|
956
821
|
"additionalProperties": false,
|
|
@@ -1042,9 +907,16 @@
|
|
|
1042
907
|
"name": "get_document_info",
|
|
1043
908
|
"description": "Return document metadata including revision, node count, and capabilities.",
|
|
1044
909
|
"parameters": {
|
|
1045
|
-
"
|
|
1046
|
-
"properties": {
|
|
1047
|
-
|
|
910
|
+
"type": "object",
|
|
911
|
+
"properties": {
|
|
912
|
+
"doc": {
|
|
913
|
+
"type": "string"
|
|
914
|
+
},
|
|
915
|
+
"sessionId": {
|
|
916
|
+
"type": "string"
|
|
917
|
+
}
|
|
918
|
+
},
|
|
919
|
+
"additionalProperties": false
|
|
1048
920
|
},
|
|
1049
921
|
"returns": {
|
|
1050
922
|
"additionalProperties": false,
|
|
@@ -1158,49 +1030,62 @@
|
|
|
1158
1030
|
"name": "insert_content",
|
|
1159
1031
|
"description": "Insert text or inline content at a target position.",
|
|
1160
1032
|
"parameters": {
|
|
1161
|
-
"
|
|
1033
|
+
"type": "object",
|
|
1162
1034
|
"properties": {
|
|
1035
|
+
"doc": {
|
|
1036
|
+
"type": "string"
|
|
1037
|
+
},
|
|
1038
|
+
"sessionId": {
|
|
1039
|
+
"type": "string"
|
|
1040
|
+
},
|
|
1041
|
+
"force": {
|
|
1042
|
+
"type": "boolean"
|
|
1043
|
+
},
|
|
1163
1044
|
"target": {
|
|
1164
|
-
"
|
|
1045
|
+
"type": "object",
|
|
1165
1046
|
"properties": {
|
|
1166
|
-
"blockId": {
|
|
1167
|
-
"type": "string"
|
|
1168
|
-
},
|
|
1169
1047
|
"kind": {
|
|
1170
1048
|
"const": "text"
|
|
1171
1049
|
},
|
|
1050
|
+
"blockId": {
|
|
1051
|
+
"type": "string"
|
|
1052
|
+
},
|
|
1172
1053
|
"range": {
|
|
1173
|
-
"
|
|
1054
|
+
"type": "object",
|
|
1174
1055
|
"properties": {
|
|
1175
|
-
"end": {
|
|
1176
|
-
"type": "integer"
|
|
1177
|
-
},
|
|
1178
1056
|
"start": {
|
|
1179
|
-
"type": "
|
|
1057
|
+
"type": "number"
|
|
1058
|
+
},
|
|
1059
|
+
"end": {
|
|
1060
|
+
"type": "number"
|
|
1180
1061
|
}
|
|
1181
1062
|
},
|
|
1182
1063
|
"required": [
|
|
1183
1064
|
"start",
|
|
1184
1065
|
"end"
|
|
1185
|
-
]
|
|
1186
|
-
"type": "object"
|
|
1066
|
+
]
|
|
1187
1067
|
}
|
|
1188
1068
|
},
|
|
1189
1069
|
"required": [
|
|
1190
1070
|
"kind",
|
|
1191
1071
|
"blockId",
|
|
1192
1072
|
"range"
|
|
1193
|
-
]
|
|
1194
|
-
"type": "object"
|
|
1073
|
+
]
|
|
1195
1074
|
},
|
|
1196
1075
|
"text": {
|
|
1197
1076
|
"type": "string"
|
|
1077
|
+
},
|
|
1078
|
+
"blockId": {
|
|
1079
|
+
"type": "string"
|
|
1080
|
+
},
|
|
1081
|
+
"offset": {
|
|
1082
|
+
"type": "number"
|
|
1198
1083
|
}
|
|
1199
1084
|
},
|
|
1200
1085
|
"required": [
|
|
1201
1086
|
"text"
|
|
1202
1087
|
],
|
|
1203
|
-
"
|
|
1088
|
+
"additionalProperties": false
|
|
1204
1089
|
},
|
|
1205
1090
|
"returns": {
|
|
1206
1091
|
"additionalProperties": false,
|
|
@@ -1477,40 +1362,47 @@
|
|
|
1477
1362
|
"name": "replace_content",
|
|
1478
1363
|
"description": "Replace content at a target position with new text or inline content.",
|
|
1479
1364
|
"parameters": {
|
|
1480
|
-
"
|
|
1365
|
+
"type": "object",
|
|
1481
1366
|
"properties": {
|
|
1367
|
+
"doc": {
|
|
1368
|
+
"type": "string"
|
|
1369
|
+
},
|
|
1370
|
+
"sessionId": {
|
|
1371
|
+
"type": "string"
|
|
1372
|
+
},
|
|
1373
|
+
"force": {
|
|
1374
|
+
"type": "boolean"
|
|
1375
|
+
},
|
|
1482
1376
|
"target": {
|
|
1483
|
-
"
|
|
1377
|
+
"type": "object",
|
|
1484
1378
|
"properties": {
|
|
1485
|
-
"blockId": {
|
|
1486
|
-
"type": "string"
|
|
1487
|
-
},
|
|
1488
1379
|
"kind": {
|
|
1489
1380
|
"const": "text"
|
|
1490
1381
|
},
|
|
1382
|
+
"blockId": {
|
|
1383
|
+
"type": "string"
|
|
1384
|
+
},
|
|
1491
1385
|
"range": {
|
|
1492
|
-
"
|
|
1386
|
+
"type": "object",
|
|
1493
1387
|
"properties": {
|
|
1494
|
-
"end": {
|
|
1495
|
-
"type": "integer"
|
|
1496
|
-
},
|
|
1497
1388
|
"start": {
|
|
1498
|
-
"type": "
|
|
1389
|
+
"type": "number"
|
|
1390
|
+
},
|
|
1391
|
+
"end": {
|
|
1392
|
+
"type": "number"
|
|
1499
1393
|
}
|
|
1500
1394
|
},
|
|
1501
1395
|
"required": [
|
|
1502
1396
|
"start",
|
|
1503
1397
|
"end"
|
|
1504
|
-
]
|
|
1505
|
-
"type": "object"
|
|
1398
|
+
]
|
|
1506
1399
|
}
|
|
1507
1400
|
},
|
|
1508
1401
|
"required": [
|
|
1509
1402
|
"kind",
|
|
1510
1403
|
"blockId",
|
|
1511
1404
|
"range"
|
|
1512
|
-
]
|
|
1513
|
-
"type": "object"
|
|
1405
|
+
]
|
|
1514
1406
|
},
|
|
1515
1407
|
"text": {
|
|
1516
1408
|
"type": "string"
|
|
@@ -1520,7 +1412,7 @@
|
|
|
1520
1412
|
"target",
|
|
1521
1413
|
"text"
|
|
1522
1414
|
],
|
|
1523
|
-
"
|
|
1415
|
+
"additionalProperties": false
|
|
1524
1416
|
},
|
|
1525
1417
|
"returns": {
|
|
1526
1418
|
"additionalProperties": false,
|
|
@@ -1797,46 +1689,53 @@
|
|
|
1797
1689
|
"name": "delete_content",
|
|
1798
1690
|
"description": "Delete content at a target position.",
|
|
1799
1691
|
"parameters": {
|
|
1800
|
-
"
|
|
1692
|
+
"type": "object",
|
|
1801
1693
|
"properties": {
|
|
1694
|
+
"doc": {
|
|
1695
|
+
"type": "string"
|
|
1696
|
+
},
|
|
1697
|
+
"sessionId": {
|
|
1698
|
+
"type": "string"
|
|
1699
|
+
},
|
|
1700
|
+
"force": {
|
|
1701
|
+
"type": "boolean"
|
|
1702
|
+
},
|
|
1802
1703
|
"target": {
|
|
1803
|
-
"
|
|
1704
|
+
"type": "object",
|
|
1804
1705
|
"properties": {
|
|
1805
|
-
"blockId": {
|
|
1806
|
-
"type": "string"
|
|
1807
|
-
},
|
|
1808
1706
|
"kind": {
|
|
1809
1707
|
"const": "text"
|
|
1810
1708
|
},
|
|
1709
|
+
"blockId": {
|
|
1710
|
+
"type": "string"
|
|
1711
|
+
},
|
|
1811
1712
|
"range": {
|
|
1812
|
-
"
|
|
1713
|
+
"type": "object",
|
|
1813
1714
|
"properties": {
|
|
1814
|
-
"end": {
|
|
1815
|
-
"type": "integer"
|
|
1816
|
-
},
|
|
1817
1715
|
"start": {
|
|
1818
|
-
"type": "
|
|
1716
|
+
"type": "number"
|
|
1717
|
+
},
|
|
1718
|
+
"end": {
|
|
1719
|
+
"type": "number"
|
|
1819
1720
|
}
|
|
1820
1721
|
},
|
|
1821
1722
|
"required": [
|
|
1822
1723
|
"start",
|
|
1823
1724
|
"end"
|
|
1824
|
-
]
|
|
1825
|
-
"type": "object"
|
|
1725
|
+
]
|
|
1826
1726
|
}
|
|
1827
1727
|
},
|
|
1828
1728
|
"required": [
|
|
1829
1729
|
"kind",
|
|
1830
1730
|
"blockId",
|
|
1831
1731
|
"range"
|
|
1832
|
-
]
|
|
1833
|
-
"type": "object"
|
|
1732
|
+
]
|
|
1834
1733
|
}
|
|
1835
1734
|
},
|
|
1836
1735
|
"required": [
|
|
1837
1736
|
"target"
|
|
1838
1737
|
],
|
|
1839
|
-
"
|
|
1738
|
+
"additionalProperties": false
|
|
1840
1739
|
},
|
|
1841
1740
|
"returns": {
|
|
1842
1741
|
"additionalProperties": false,
|
|
@@ -2113,46 +2012,53 @@
|
|
|
2113
2012
|
"name": "format_bold",
|
|
2114
2013
|
"description": "Toggle bold formatting on the target range.",
|
|
2115
2014
|
"parameters": {
|
|
2116
|
-
"
|
|
2015
|
+
"type": "object",
|
|
2117
2016
|
"properties": {
|
|
2017
|
+
"doc": {
|
|
2018
|
+
"type": "string"
|
|
2019
|
+
},
|
|
2020
|
+
"sessionId": {
|
|
2021
|
+
"type": "string"
|
|
2022
|
+
},
|
|
2023
|
+
"force": {
|
|
2024
|
+
"type": "boolean"
|
|
2025
|
+
},
|
|
2118
2026
|
"target": {
|
|
2119
|
-
"
|
|
2027
|
+
"type": "object",
|
|
2120
2028
|
"properties": {
|
|
2121
|
-
"blockId": {
|
|
2122
|
-
"type": "string"
|
|
2123
|
-
},
|
|
2124
2029
|
"kind": {
|
|
2125
2030
|
"const": "text"
|
|
2126
2031
|
},
|
|
2032
|
+
"blockId": {
|
|
2033
|
+
"type": "string"
|
|
2034
|
+
},
|
|
2127
2035
|
"range": {
|
|
2128
|
-
"
|
|
2036
|
+
"type": "object",
|
|
2129
2037
|
"properties": {
|
|
2130
|
-
"end": {
|
|
2131
|
-
"type": "integer"
|
|
2132
|
-
},
|
|
2133
2038
|
"start": {
|
|
2134
|
-
"type": "
|
|
2039
|
+
"type": "number"
|
|
2040
|
+
},
|
|
2041
|
+
"end": {
|
|
2042
|
+
"type": "number"
|
|
2135
2043
|
}
|
|
2136
2044
|
},
|
|
2137
2045
|
"required": [
|
|
2138
2046
|
"start",
|
|
2139
2047
|
"end"
|
|
2140
|
-
]
|
|
2141
|
-
"type": "object"
|
|
2048
|
+
]
|
|
2142
2049
|
}
|
|
2143
2050
|
},
|
|
2144
2051
|
"required": [
|
|
2145
2052
|
"kind",
|
|
2146
2053
|
"blockId",
|
|
2147
2054
|
"range"
|
|
2148
|
-
]
|
|
2149
|
-
"type": "object"
|
|
2055
|
+
]
|
|
2150
2056
|
}
|
|
2151
2057
|
},
|
|
2152
2058
|
"required": [
|
|
2153
2059
|
"target"
|
|
2154
2060
|
],
|
|
2155
|
-
"
|
|
2061
|
+
"additionalProperties": false
|
|
2156
2062
|
},
|
|
2157
2063
|
"returns": {
|
|
2158
2064
|
"additionalProperties": false,
|
|
@@ -2430,46 +2336,53 @@
|
|
|
2430
2336
|
"name": "format_italic",
|
|
2431
2337
|
"description": "Toggle italic formatting on the target range.",
|
|
2432
2338
|
"parameters": {
|
|
2433
|
-
"
|
|
2339
|
+
"type": "object",
|
|
2434
2340
|
"properties": {
|
|
2341
|
+
"doc": {
|
|
2342
|
+
"type": "string"
|
|
2343
|
+
},
|
|
2344
|
+
"sessionId": {
|
|
2345
|
+
"type": "string"
|
|
2346
|
+
},
|
|
2347
|
+
"force": {
|
|
2348
|
+
"type": "boolean"
|
|
2349
|
+
},
|
|
2435
2350
|
"target": {
|
|
2436
|
-
"
|
|
2351
|
+
"type": "object",
|
|
2437
2352
|
"properties": {
|
|
2438
|
-
"blockId": {
|
|
2439
|
-
"type": "string"
|
|
2440
|
-
},
|
|
2441
2353
|
"kind": {
|
|
2442
2354
|
"const": "text"
|
|
2443
2355
|
},
|
|
2356
|
+
"blockId": {
|
|
2357
|
+
"type": "string"
|
|
2358
|
+
},
|
|
2444
2359
|
"range": {
|
|
2445
|
-
"
|
|
2360
|
+
"type": "object",
|
|
2446
2361
|
"properties": {
|
|
2447
|
-
"end": {
|
|
2448
|
-
"type": "integer"
|
|
2449
|
-
},
|
|
2450
2362
|
"start": {
|
|
2451
|
-
"type": "
|
|
2363
|
+
"type": "number"
|
|
2364
|
+
},
|
|
2365
|
+
"end": {
|
|
2366
|
+
"type": "number"
|
|
2452
2367
|
}
|
|
2453
2368
|
},
|
|
2454
2369
|
"required": [
|
|
2455
2370
|
"start",
|
|
2456
2371
|
"end"
|
|
2457
|
-
]
|
|
2458
|
-
"type": "object"
|
|
2372
|
+
]
|
|
2459
2373
|
}
|
|
2460
2374
|
},
|
|
2461
2375
|
"required": [
|
|
2462
2376
|
"kind",
|
|
2463
2377
|
"blockId",
|
|
2464
2378
|
"range"
|
|
2465
|
-
]
|
|
2466
|
-
"type": "object"
|
|
2379
|
+
]
|
|
2467
2380
|
}
|
|
2468
2381
|
},
|
|
2469
2382
|
"required": [
|
|
2470
2383
|
"target"
|
|
2471
2384
|
],
|
|
2472
|
-
"
|
|
2385
|
+
"additionalProperties": false
|
|
2473
2386
|
},
|
|
2474
2387
|
"returns": {
|
|
2475
2388
|
"additionalProperties": false,
|
|
@@ -2747,46 +2660,53 @@
|
|
|
2747
2660
|
"name": "format_underline",
|
|
2748
2661
|
"description": "Toggle underline formatting on the target range.",
|
|
2749
2662
|
"parameters": {
|
|
2750
|
-
"
|
|
2663
|
+
"type": "object",
|
|
2751
2664
|
"properties": {
|
|
2665
|
+
"doc": {
|
|
2666
|
+
"type": "string"
|
|
2667
|
+
},
|
|
2668
|
+
"sessionId": {
|
|
2669
|
+
"type": "string"
|
|
2670
|
+
},
|
|
2671
|
+
"force": {
|
|
2672
|
+
"type": "boolean"
|
|
2673
|
+
},
|
|
2752
2674
|
"target": {
|
|
2753
|
-
"
|
|
2675
|
+
"type": "object",
|
|
2754
2676
|
"properties": {
|
|
2755
|
-
"blockId": {
|
|
2756
|
-
"type": "string"
|
|
2757
|
-
},
|
|
2758
2677
|
"kind": {
|
|
2759
2678
|
"const": "text"
|
|
2760
2679
|
},
|
|
2680
|
+
"blockId": {
|
|
2681
|
+
"type": "string"
|
|
2682
|
+
},
|
|
2761
2683
|
"range": {
|
|
2762
|
-
"
|
|
2684
|
+
"type": "object",
|
|
2763
2685
|
"properties": {
|
|
2764
|
-
"end": {
|
|
2765
|
-
"type": "integer"
|
|
2766
|
-
},
|
|
2767
2686
|
"start": {
|
|
2768
|
-
"type": "
|
|
2687
|
+
"type": "number"
|
|
2688
|
+
},
|
|
2689
|
+
"end": {
|
|
2690
|
+
"type": "number"
|
|
2769
2691
|
}
|
|
2770
2692
|
},
|
|
2771
2693
|
"required": [
|
|
2772
2694
|
"start",
|
|
2773
2695
|
"end"
|
|
2774
|
-
]
|
|
2775
|
-
"type": "object"
|
|
2696
|
+
]
|
|
2776
2697
|
}
|
|
2777
2698
|
},
|
|
2778
2699
|
"required": [
|
|
2779
2700
|
"kind",
|
|
2780
2701
|
"blockId",
|
|
2781
2702
|
"range"
|
|
2782
|
-
]
|
|
2783
|
-
"type": "object"
|
|
2703
|
+
]
|
|
2784
2704
|
}
|
|
2785
2705
|
},
|
|
2786
2706
|
"required": [
|
|
2787
2707
|
"target"
|
|
2788
2708
|
],
|
|
2789
|
-
"
|
|
2709
|
+
"additionalProperties": false
|
|
2790
2710
|
},
|
|
2791
2711
|
"returns": {
|
|
2792
2712
|
"additionalProperties": false,
|
|
@@ -3064,46 +2984,53 @@
|
|
|
3064
2984
|
"name": "format_strikethrough",
|
|
3065
2985
|
"description": "Toggle strikethrough formatting on the target range.",
|
|
3066
2986
|
"parameters": {
|
|
3067
|
-
"
|
|
2987
|
+
"type": "object",
|
|
3068
2988
|
"properties": {
|
|
2989
|
+
"doc": {
|
|
2990
|
+
"type": "string"
|
|
2991
|
+
},
|
|
2992
|
+
"sessionId": {
|
|
2993
|
+
"type": "string"
|
|
2994
|
+
},
|
|
2995
|
+
"force": {
|
|
2996
|
+
"type": "boolean"
|
|
2997
|
+
},
|
|
3069
2998
|
"target": {
|
|
3070
|
-
"
|
|
2999
|
+
"type": "object",
|
|
3071
3000
|
"properties": {
|
|
3072
|
-
"blockId": {
|
|
3073
|
-
"type": "string"
|
|
3074
|
-
},
|
|
3075
3001
|
"kind": {
|
|
3076
3002
|
"const": "text"
|
|
3077
3003
|
},
|
|
3004
|
+
"blockId": {
|
|
3005
|
+
"type": "string"
|
|
3006
|
+
},
|
|
3078
3007
|
"range": {
|
|
3079
|
-
"
|
|
3008
|
+
"type": "object",
|
|
3080
3009
|
"properties": {
|
|
3081
|
-
"end": {
|
|
3082
|
-
"type": "integer"
|
|
3083
|
-
},
|
|
3084
3010
|
"start": {
|
|
3085
|
-
"type": "
|
|
3011
|
+
"type": "number"
|
|
3012
|
+
},
|
|
3013
|
+
"end": {
|
|
3014
|
+
"type": "number"
|
|
3086
3015
|
}
|
|
3087
3016
|
},
|
|
3088
3017
|
"required": [
|
|
3089
3018
|
"start",
|
|
3090
3019
|
"end"
|
|
3091
|
-
]
|
|
3092
|
-
"type": "object"
|
|
3020
|
+
]
|
|
3093
3021
|
}
|
|
3094
3022
|
},
|
|
3095
3023
|
"required": [
|
|
3096
3024
|
"kind",
|
|
3097
3025
|
"blockId",
|
|
3098
3026
|
"range"
|
|
3099
|
-
]
|
|
3100
|
-
"type": "object"
|
|
3027
|
+
]
|
|
3101
3028
|
}
|
|
3102
3029
|
},
|
|
3103
3030
|
"required": [
|
|
3104
3031
|
"target"
|
|
3105
3032
|
],
|
|
3106
|
-
"
|
|
3033
|
+
"additionalProperties": false
|
|
3107
3034
|
},
|
|
3108
3035
|
"returns": {
|
|
3109
3036
|
"additionalProperties": false,
|
|
@@ -3381,12 +3308,21 @@
|
|
|
3381
3308
|
"name": "create_paragraph",
|
|
3382
3309
|
"description": "Create a new paragraph at the target position.",
|
|
3383
3310
|
"parameters": {
|
|
3384
|
-
"
|
|
3311
|
+
"type": "object",
|
|
3385
3312
|
"properties": {
|
|
3313
|
+
"doc": {
|
|
3314
|
+
"type": "string"
|
|
3315
|
+
},
|
|
3316
|
+
"sessionId": {
|
|
3317
|
+
"type": "string"
|
|
3318
|
+
},
|
|
3319
|
+
"force": {
|
|
3320
|
+
"type": "boolean"
|
|
3321
|
+
},
|
|
3386
3322
|
"at": {
|
|
3387
3323
|
"oneOf": [
|
|
3388
3324
|
{
|
|
3389
|
-
"
|
|
3325
|
+
"type": "object",
|
|
3390
3326
|
"properties": {
|
|
3391
3327
|
"kind": {
|
|
3392
3328
|
"const": "documentStart"
|
|
@@ -3394,11 +3330,10 @@
|
|
|
3394
3330
|
},
|
|
3395
3331
|
"required": [
|
|
3396
3332
|
"kind"
|
|
3397
|
-
]
|
|
3398
|
-
"type": "object"
|
|
3333
|
+
]
|
|
3399
3334
|
},
|
|
3400
3335
|
{
|
|
3401
|
-
"
|
|
3336
|
+
"type": "object",
|
|
3402
3337
|
"properties": {
|
|
3403
3338
|
"kind": {
|
|
3404
3339
|
"const": "documentEnd"
|
|
@@ -3406,100 +3341,128 @@
|
|
|
3406
3341
|
},
|
|
3407
3342
|
"required": [
|
|
3408
3343
|
"kind"
|
|
3409
|
-
]
|
|
3410
|
-
"type": "object"
|
|
3344
|
+
]
|
|
3411
3345
|
},
|
|
3412
3346
|
{
|
|
3413
|
-
"
|
|
3347
|
+
"type": "object",
|
|
3414
3348
|
"properties": {
|
|
3415
3349
|
"kind": {
|
|
3416
3350
|
"const": "before"
|
|
3417
3351
|
},
|
|
3418
3352
|
"target": {
|
|
3419
|
-
"
|
|
3353
|
+
"type": "object",
|
|
3420
3354
|
"properties": {
|
|
3421
3355
|
"kind": {
|
|
3422
3356
|
"const": "block"
|
|
3423
3357
|
},
|
|
3424
|
-
"nodeId": {
|
|
3425
|
-
"type": "string"
|
|
3426
|
-
},
|
|
3427
3358
|
"nodeType": {
|
|
3428
|
-
"
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3359
|
+
"oneOf": [
|
|
3360
|
+
{
|
|
3361
|
+
"const": "paragraph"
|
|
3362
|
+
},
|
|
3363
|
+
{
|
|
3364
|
+
"const": "heading"
|
|
3365
|
+
},
|
|
3366
|
+
{
|
|
3367
|
+
"const": "listItem"
|
|
3368
|
+
},
|
|
3369
|
+
{
|
|
3370
|
+
"const": "table"
|
|
3371
|
+
},
|
|
3372
|
+
{
|
|
3373
|
+
"const": "tableRow"
|
|
3374
|
+
},
|
|
3375
|
+
{
|
|
3376
|
+
"const": "tableCell"
|
|
3377
|
+
},
|
|
3378
|
+
{
|
|
3379
|
+
"const": "image"
|
|
3380
|
+
},
|
|
3381
|
+
{
|
|
3382
|
+
"const": "sdt"
|
|
3383
|
+
}
|
|
3437
3384
|
]
|
|
3385
|
+
},
|
|
3386
|
+
"nodeId": {
|
|
3387
|
+
"type": "string"
|
|
3438
3388
|
}
|
|
3439
3389
|
},
|
|
3440
3390
|
"required": [
|
|
3441
3391
|
"kind",
|
|
3442
3392
|
"nodeType",
|
|
3443
3393
|
"nodeId"
|
|
3444
|
-
]
|
|
3445
|
-
"type": "object"
|
|
3394
|
+
]
|
|
3446
3395
|
}
|
|
3447
3396
|
},
|
|
3448
3397
|
"required": [
|
|
3449
3398
|
"kind",
|
|
3450
3399
|
"target"
|
|
3451
|
-
]
|
|
3452
|
-
"type": "object"
|
|
3400
|
+
]
|
|
3453
3401
|
},
|
|
3454
3402
|
{
|
|
3455
|
-
"
|
|
3403
|
+
"type": "object",
|
|
3456
3404
|
"properties": {
|
|
3457
3405
|
"kind": {
|
|
3458
3406
|
"const": "after"
|
|
3459
3407
|
},
|
|
3460
3408
|
"target": {
|
|
3461
|
-
"
|
|
3409
|
+
"type": "object",
|
|
3462
3410
|
"properties": {
|
|
3463
3411
|
"kind": {
|
|
3464
3412
|
"const": "block"
|
|
3465
3413
|
},
|
|
3466
|
-
"nodeId": {
|
|
3467
|
-
"type": "string"
|
|
3468
|
-
},
|
|
3469
3414
|
"nodeType": {
|
|
3470
|
-
"
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3415
|
+
"oneOf": [
|
|
3416
|
+
{
|
|
3417
|
+
"const": "paragraph"
|
|
3418
|
+
},
|
|
3419
|
+
{
|
|
3420
|
+
"const": "heading"
|
|
3421
|
+
},
|
|
3422
|
+
{
|
|
3423
|
+
"const": "listItem"
|
|
3424
|
+
},
|
|
3425
|
+
{
|
|
3426
|
+
"const": "table"
|
|
3427
|
+
},
|
|
3428
|
+
{
|
|
3429
|
+
"const": "tableRow"
|
|
3430
|
+
},
|
|
3431
|
+
{
|
|
3432
|
+
"const": "tableCell"
|
|
3433
|
+
},
|
|
3434
|
+
{
|
|
3435
|
+
"const": "image"
|
|
3436
|
+
},
|
|
3437
|
+
{
|
|
3438
|
+
"const": "sdt"
|
|
3439
|
+
}
|
|
3479
3440
|
]
|
|
3441
|
+
},
|
|
3442
|
+
"nodeId": {
|
|
3443
|
+
"type": "string"
|
|
3480
3444
|
}
|
|
3481
3445
|
},
|
|
3482
3446
|
"required": [
|
|
3483
3447
|
"kind",
|
|
3484
3448
|
"nodeType",
|
|
3485
3449
|
"nodeId"
|
|
3486
|
-
]
|
|
3487
|
-
"type": "object"
|
|
3450
|
+
]
|
|
3488
3451
|
}
|
|
3489
3452
|
},
|
|
3490
3453
|
"required": [
|
|
3491
3454
|
"kind",
|
|
3492
3455
|
"target"
|
|
3493
|
-
]
|
|
3494
|
-
"type": "object"
|
|
3456
|
+
]
|
|
3495
3457
|
}
|
|
3496
3458
|
]
|
|
3497
3459
|
},
|
|
3498
3460
|
"text": {
|
|
3499
3461
|
"type": "string"
|
|
3500
|
-
}
|
|
3462
|
+
},
|
|
3463
|
+
"input": {}
|
|
3501
3464
|
},
|
|
3502
|
-
"
|
|
3465
|
+
"additionalProperties": false
|
|
3503
3466
|
},
|
|
3504
3467
|
"returns": {
|
|
3505
3468
|
"additionalProperties": false,
|
|
@@ -3618,57 +3581,76 @@
|
|
|
3618
3581
|
"name": "list_lists",
|
|
3619
3582
|
"description": "List all list nodes in the document, optionally filtered by scope.",
|
|
3620
3583
|
"parameters": {
|
|
3621
|
-
"
|
|
3584
|
+
"type": "object",
|
|
3622
3585
|
"properties": {
|
|
3623
|
-
"
|
|
3624
|
-
"
|
|
3625
|
-
"ordered",
|
|
3626
|
-
"bullet"
|
|
3627
|
-
]
|
|
3628
|
-
},
|
|
3629
|
-
"level": {
|
|
3630
|
-
"type": "integer"
|
|
3631
|
-
},
|
|
3632
|
-
"limit": {
|
|
3633
|
-
"type": "integer"
|
|
3634
|
-
},
|
|
3635
|
-
"offset": {
|
|
3636
|
-
"type": "integer"
|
|
3586
|
+
"doc": {
|
|
3587
|
+
"type": "string"
|
|
3637
3588
|
},
|
|
3638
|
-
"
|
|
3639
|
-
"type": "
|
|
3589
|
+
"sessionId": {
|
|
3590
|
+
"type": "string"
|
|
3640
3591
|
},
|
|
3641
3592
|
"within": {
|
|
3642
|
-
"
|
|
3593
|
+
"type": "object",
|
|
3643
3594
|
"properties": {
|
|
3644
3595
|
"kind": {
|
|
3645
3596
|
"const": "block"
|
|
3646
3597
|
},
|
|
3647
|
-
"nodeId": {
|
|
3648
|
-
"type": "string"
|
|
3649
|
-
},
|
|
3650
3598
|
"nodeType": {
|
|
3651
|
-
"
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3599
|
+
"oneOf": [
|
|
3600
|
+
{
|
|
3601
|
+
"const": "paragraph"
|
|
3602
|
+
},
|
|
3603
|
+
{
|
|
3604
|
+
"const": "heading"
|
|
3605
|
+
},
|
|
3606
|
+
{
|
|
3607
|
+
"const": "listItem"
|
|
3608
|
+
},
|
|
3609
|
+
{
|
|
3610
|
+
"const": "table"
|
|
3611
|
+
},
|
|
3612
|
+
{
|
|
3613
|
+
"const": "tableRow"
|
|
3614
|
+
},
|
|
3615
|
+
{
|
|
3616
|
+
"const": "tableCell"
|
|
3617
|
+
},
|
|
3618
|
+
{
|
|
3619
|
+
"const": "image"
|
|
3620
|
+
},
|
|
3621
|
+
{
|
|
3622
|
+
"const": "sdt"
|
|
3623
|
+
}
|
|
3660
3624
|
]
|
|
3625
|
+
},
|
|
3626
|
+
"nodeId": {
|
|
3627
|
+
"type": "string"
|
|
3661
3628
|
}
|
|
3662
3629
|
},
|
|
3663
3630
|
"required": [
|
|
3664
3631
|
"kind",
|
|
3665
3632
|
"nodeType",
|
|
3666
3633
|
"nodeId"
|
|
3667
|
-
]
|
|
3668
|
-
|
|
3669
|
-
|
|
3634
|
+
]
|
|
3635
|
+
},
|
|
3636
|
+
"limit": {
|
|
3637
|
+
"type": "number"
|
|
3638
|
+
},
|
|
3639
|
+
"offset": {
|
|
3640
|
+
"type": "number"
|
|
3641
|
+
},
|
|
3642
|
+
"kind": {
|
|
3643
|
+
"type": "string"
|
|
3644
|
+
},
|
|
3645
|
+
"level": {
|
|
3646
|
+
"type": "number"
|
|
3647
|
+
},
|
|
3648
|
+
"ordinal": {
|
|
3649
|
+
"type": "number"
|
|
3650
|
+
},
|
|
3651
|
+
"query": {}
|
|
3670
3652
|
},
|
|
3671
|
-
"
|
|
3653
|
+
"additionalProperties": false
|
|
3672
3654
|
},
|
|
3673
3655
|
"returns": {
|
|
3674
3656
|
"additionalProperties": false,
|
|
@@ -3815,33 +3797,38 @@
|
|
|
3815
3797
|
"name": "get_list",
|
|
3816
3798
|
"description": "Retrieve a specific list node by target.",
|
|
3817
3799
|
"parameters": {
|
|
3818
|
-
"
|
|
3800
|
+
"type": "object",
|
|
3819
3801
|
"properties": {
|
|
3802
|
+
"doc": {
|
|
3803
|
+
"type": "string"
|
|
3804
|
+
},
|
|
3805
|
+
"sessionId": {
|
|
3806
|
+
"type": "string"
|
|
3807
|
+
},
|
|
3820
3808
|
"address": {
|
|
3821
|
-
"
|
|
3809
|
+
"type": "object",
|
|
3822
3810
|
"properties": {
|
|
3823
3811
|
"kind": {
|
|
3824
3812
|
"const": "block"
|
|
3825
3813
|
},
|
|
3826
|
-
"nodeId": {
|
|
3827
|
-
"type": "string"
|
|
3828
|
-
},
|
|
3829
3814
|
"nodeType": {
|
|
3830
3815
|
"const": "listItem"
|
|
3816
|
+
},
|
|
3817
|
+
"nodeId": {
|
|
3818
|
+
"type": "string"
|
|
3831
3819
|
}
|
|
3832
3820
|
},
|
|
3833
3821
|
"required": [
|
|
3834
3822
|
"kind",
|
|
3835
3823
|
"nodeType",
|
|
3836
3824
|
"nodeId"
|
|
3837
|
-
]
|
|
3838
|
-
"type": "object"
|
|
3825
|
+
]
|
|
3839
3826
|
}
|
|
3840
3827
|
},
|
|
3841
3828
|
"required": [
|
|
3842
3829
|
"address"
|
|
3843
3830
|
],
|
|
3844
|
-
"
|
|
3831
|
+
"additionalProperties": false
|
|
3845
3832
|
},
|
|
3846
3833
|
"returns": {
|
|
3847
3834
|
"additionalProperties": false,
|
|
@@ -3920,43 +3907,45 @@
|
|
|
3920
3907
|
"name": "insert_list",
|
|
3921
3908
|
"description": "Insert a new list at the target position.",
|
|
3922
3909
|
"parameters": {
|
|
3923
|
-
"
|
|
3910
|
+
"type": "object",
|
|
3924
3911
|
"properties": {
|
|
3925
|
-
"
|
|
3926
|
-
"
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3912
|
+
"doc": {
|
|
3913
|
+
"type": "string"
|
|
3914
|
+
},
|
|
3915
|
+
"sessionId": {
|
|
3916
|
+
"type": "string"
|
|
3917
|
+
},
|
|
3918
|
+
"force": {
|
|
3919
|
+
"type": "boolean"
|
|
3930
3920
|
},
|
|
3931
3921
|
"target": {
|
|
3932
|
-
"
|
|
3922
|
+
"type": "object",
|
|
3933
3923
|
"properties": {
|
|
3934
3924
|
"kind": {
|
|
3935
3925
|
"const": "block"
|
|
3936
3926
|
},
|
|
3937
|
-
"nodeId": {
|
|
3938
|
-
"type": "string"
|
|
3939
|
-
},
|
|
3940
3927
|
"nodeType": {
|
|
3941
3928
|
"const": "listItem"
|
|
3929
|
+
},
|
|
3930
|
+
"nodeId": {
|
|
3931
|
+
"type": "string"
|
|
3942
3932
|
}
|
|
3943
3933
|
},
|
|
3944
3934
|
"required": [
|
|
3945
3935
|
"kind",
|
|
3946
3936
|
"nodeType",
|
|
3947
3937
|
"nodeId"
|
|
3948
|
-
]
|
|
3949
|
-
|
|
3938
|
+
]
|
|
3939
|
+
},
|
|
3940
|
+
"position": {
|
|
3941
|
+
"type": "string"
|
|
3950
3942
|
},
|
|
3951
3943
|
"text": {
|
|
3952
3944
|
"type": "string"
|
|
3953
|
-
}
|
|
3945
|
+
},
|
|
3946
|
+
"input": {}
|
|
3954
3947
|
},
|
|
3955
|
-
"
|
|
3956
|
-
"target",
|
|
3957
|
-
"position"
|
|
3958
|
-
],
|
|
3959
|
-
"type": "object"
|
|
3948
|
+
"additionalProperties": false
|
|
3960
3949
|
},
|
|
3961
3950
|
"returns": {
|
|
3962
3951
|
"additionalProperties": false,
|
|
@@ -4076,40 +4065,42 @@
|
|
|
4076
4065
|
"name": "set_list_type",
|
|
4077
4066
|
"description": "Change the list type (ordered, unordered) of a target list.",
|
|
4078
4067
|
"parameters": {
|
|
4079
|
-
"
|
|
4068
|
+
"type": "object",
|
|
4080
4069
|
"properties": {
|
|
4081
|
-
"
|
|
4082
|
-
"
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
|
|
4070
|
+
"doc": {
|
|
4071
|
+
"type": "string"
|
|
4072
|
+
},
|
|
4073
|
+
"sessionId": {
|
|
4074
|
+
"type": "string"
|
|
4075
|
+
},
|
|
4076
|
+
"force": {
|
|
4077
|
+
"type": "boolean"
|
|
4086
4078
|
},
|
|
4087
4079
|
"target": {
|
|
4088
|
-
"
|
|
4080
|
+
"type": "object",
|
|
4089
4081
|
"properties": {
|
|
4090
4082
|
"kind": {
|
|
4091
4083
|
"const": "block"
|
|
4092
4084
|
},
|
|
4093
|
-
"nodeId": {
|
|
4094
|
-
"type": "string"
|
|
4095
|
-
},
|
|
4096
4085
|
"nodeType": {
|
|
4097
4086
|
"const": "listItem"
|
|
4087
|
+
},
|
|
4088
|
+
"nodeId": {
|
|
4089
|
+
"type": "string"
|
|
4098
4090
|
}
|
|
4099
4091
|
},
|
|
4100
4092
|
"required": [
|
|
4101
4093
|
"kind",
|
|
4102
4094
|
"nodeType",
|
|
4103
4095
|
"nodeId"
|
|
4104
|
-
]
|
|
4105
|
-
|
|
4106
|
-
|
|
4096
|
+
]
|
|
4097
|
+
},
|
|
4098
|
+
"kind": {
|
|
4099
|
+
"type": "string"
|
|
4100
|
+
},
|
|
4101
|
+
"input": {}
|
|
4107
4102
|
},
|
|
4108
|
-
"
|
|
4109
|
-
"target",
|
|
4110
|
-
"kind"
|
|
4111
|
-
],
|
|
4112
|
-
"type": "object"
|
|
4103
|
+
"additionalProperties": false
|
|
4113
4104
|
},
|
|
4114
4105
|
"returns": {
|
|
4115
4106
|
"additionalProperties": false,
|
|
@@ -4172,33 +4163,39 @@
|
|
|
4172
4163
|
"name": "indent_list",
|
|
4173
4164
|
"description": "Increase the indentation level of a list item.",
|
|
4174
4165
|
"parameters": {
|
|
4175
|
-
"
|
|
4166
|
+
"type": "object",
|
|
4176
4167
|
"properties": {
|
|
4168
|
+
"doc": {
|
|
4169
|
+
"type": "string"
|
|
4170
|
+
},
|
|
4171
|
+
"sessionId": {
|
|
4172
|
+
"type": "string"
|
|
4173
|
+
},
|
|
4174
|
+
"force": {
|
|
4175
|
+
"type": "boolean"
|
|
4176
|
+
},
|
|
4177
4177
|
"target": {
|
|
4178
|
-
"
|
|
4178
|
+
"type": "object",
|
|
4179
4179
|
"properties": {
|
|
4180
4180
|
"kind": {
|
|
4181
4181
|
"const": "block"
|
|
4182
4182
|
},
|
|
4183
|
-
"nodeId": {
|
|
4184
|
-
"type": "string"
|
|
4185
|
-
},
|
|
4186
4183
|
"nodeType": {
|
|
4187
4184
|
"const": "listItem"
|
|
4185
|
+
},
|
|
4186
|
+
"nodeId": {
|
|
4187
|
+
"type": "string"
|
|
4188
4188
|
}
|
|
4189
4189
|
},
|
|
4190
4190
|
"required": [
|
|
4191
4191
|
"kind",
|
|
4192
4192
|
"nodeType",
|
|
4193
4193
|
"nodeId"
|
|
4194
|
-
]
|
|
4195
|
-
|
|
4196
|
-
}
|
|
4194
|
+
]
|
|
4195
|
+
},
|
|
4196
|
+
"input": {}
|
|
4197
4197
|
},
|
|
4198
|
-
"
|
|
4199
|
-
"target"
|
|
4200
|
-
],
|
|
4201
|
-
"type": "object"
|
|
4198
|
+
"additionalProperties": false
|
|
4202
4199
|
},
|
|
4203
4200
|
"returns": {
|
|
4204
4201
|
"additionalProperties": false,
|
|
@@ -4261,33 +4258,39 @@
|
|
|
4261
4258
|
"name": "outdent_list",
|
|
4262
4259
|
"description": "Decrease the indentation level of a list item.",
|
|
4263
4260
|
"parameters": {
|
|
4264
|
-
"
|
|
4261
|
+
"type": "object",
|
|
4265
4262
|
"properties": {
|
|
4263
|
+
"doc": {
|
|
4264
|
+
"type": "string"
|
|
4265
|
+
},
|
|
4266
|
+
"sessionId": {
|
|
4267
|
+
"type": "string"
|
|
4268
|
+
},
|
|
4269
|
+
"force": {
|
|
4270
|
+
"type": "boolean"
|
|
4271
|
+
},
|
|
4266
4272
|
"target": {
|
|
4267
|
-
"
|
|
4273
|
+
"type": "object",
|
|
4268
4274
|
"properties": {
|
|
4269
4275
|
"kind": {
|
|
4270
4276
|
"const": "block"
|
|
4271
4277
|
},
|
|
4272
|
-
"nodeId": {
|
|
4273
|
-
"type": "string"
|
|
4274
|
-
},
|
|
4275
4278
|
"nodeType": {
|
|
4276
4279
|
"const": "listItem"
|
|
4280
|
+
},
|
|
4281
|
+
"nodeId": {
|
|
4282
|
+
"type": "string"
|
|
4277
4283
|
}
|
|
4278
4284
|
},
|
|
4279
4285
|
"required": [
|
|
4280
4286
|
"kind",
|
|
4281
4287
|
"nodeType",
|
|
4282
4288
|
"nodeId"
|
|
4283
|
-
]
|
|
4284
|
-
|
|
4285
|
-
}
|
|
4289
|
+
]
|
|
4290
|
+
},
|
|
4291
|
+
"input": {}
|
|
4286
4292
|
},
|
|
4287
|
-
"
|
|
4288
|
-
"target"
|
|
4289
|
-
],
|
|
4290
|
-
"type": "object"
|
|
4293
|
+
"additionalProperties": false
|
|
4291
4294
|
},
|
|
4292
4295
|
"returns": {
|
|
4293
4296
|
"additionalProperties": false,
|
|
@@ -4350,33 +4353,39 @@
|
|
|
4350
4353
|
"name": "restart_list_numbering",
|
|
4351
4354
|
"description": "Restart numbering of an ordered list at the target item.",
|
|
4352
4355
|
"parameters": {
|
|
4353
|
-
"
|
|
4356
|
+
"type": "object",
|
|
4354
4357
|
"properties": {
|
|
4358
|
+
"doc": {
|
|
4359
|
+
"type": "string"
|
|
4360
|
+
},
|
|
4361
|
+
"sessionId": {
|
|
4362
|
+
"type": "string"
|
|
4363
|
+
},
|
|
4364
|
+
"force": {
|
|
4365
|
+
"type": "boolean"
|
|
4366
|
+
},
|
|
4355
4367
|
"target": {
|
|
4356
|
-
"
|
|
4368
|
+
"type": "object",
|
|
4357
4369
|
"properties": {
|
|
4358
4370
|
"kind": {
|
|
4359
4371
|
"const": "block"
|
|
4360
4372
|
},
|
|
4361
|
-
"nodeId": {
|
|
4362
|
-
"type": "string"
|
|
4363
|
-
},
|
|
4364
4373
|
"nodeType": {
|
|
4365
4374
|
"const": "listItem"
|
|
4375
|
+
},
|
|
4376
|
+
"nodeId": {
|
|
4377
|
+
"type": "string"
|
|
4366
4378
|
}
|
|
4367
4379
|
},
|
|
4368
4380
|
"required": [
|
|
4369
4381
|
"kind",
|
|
4370
4382
|
"nodeType",
|
|
4371
4383
|
"nodeId"
|
|
4372
|
-
]
|
|
4373
|
-
|
|
4374
|
-
}
|
|
4384
|
+
]
|
|
4385
|
+
},
|
|
4386
|
+
"input": {}
|
|
4375
4387
|
},
|
|
4376
|
-
"
|
|
4377
|
-
"target"
|
|
4378
|
-
],
|
|
4379
|
-
"type": "object"
|
|
4388
|
+
"additionalProperties": false
|
|
4380
4389
|
},
|
|
4381
4390
|
"returns": {
|
|
4382
4391
|
"additionalProperties": false,
|
|
@@ -4439,33 +4448,39 @@
|
|
|
4439
4448
|
"name": "exit_list",
|
|
4440
4449
|
"description": "Exit a list context, converting the target item to a paragraph.",
|
|
4441
4450
|
"parameters": {
|
|
4442
|
-
"
|
|
4451
|
+
"type": "object",
|
|
4443
4452
|
"properties": {
|
|
4453
|
+
"doc": {
|
|
4454
|
+
"type": "string"
|
|
4455
|
+
},
|
|
4456
|
+
"sessionId": {
|
|
4457
|
+
"type": "string"
|
|
4458
|
+
},
|
|
4459
|
+
"force": {
|
|
4460
|
+
"type": "boolean"
|
|
4461
|
+
},
|
|
4444
4462
|
"target": {
|
|
4445
|
-
"
|
|
4463
|
+
"type": "object",
|
|
4446
4464
|
"properties": {
|
|
4447
4465
|
"kind": {
|
|
4448
4466
|
"const": "block"
|
|
4449
4467
|
},
|
|
4450
|
-
"nodeId": {
|
|
4451
|
-
"type": "string"
|
|
4452
|
-
},
|
|
4453
4468
|
"nodeType": {
|
|
4454
4469
|
"const": "listItem"
|
|
4470
|
+
},
|
|
4471
|
+
"nodeId": {
|
|
4472
|
+
"type": "string"
|
|
4455
4473
|
}
|
|
4456
4474
|
},
|
|
4457
4475
|
"required": [
|
|
4458
4476
|
"kind",
|
|
4459
4477
|
"nodeType",
|
|
4460
4478
|
"nodeId"
|
|
4461
|
-
]
|
|
4462
|
-
|
|
4463
|
-
}
|
|
4479
|
+
]
|
|
4480
|
+
},
|
|
4481
|
+
"input": {}
|
|
4464
4482
|
},
|
|
4465
|
-
"
|
|
4466
|
-
"target"
|
|
4467
|
-
],
|
|
4468
|
-
"type": "object"
|
|
4483
|
+
"additionalProperties": false
|
|
4469
4484
|
},
|
|
4470
4485
|
"returns": {
|
|
4471
4486
|
"additionalProperties": false,
|
|
@@ -4528,40 +4543,47 @@
|
|
|
4528
4543
|
"name": "add_comment",
|
|
4529
4544
|
"description": "Add a new comment thread anchored to a target range.",
|
|
4530
4545
|
"parameters": {
|
|
4531
|
-
"
|
|
4546
|
+
"type": "object",
|
|
4532
4547
|
"properties": {
|
|
4548
|
+
"doc": {
|
|
4549
|
+
"type": "string"
|
|
4550
|
+
},
|
|
4551
|
+
"sessionId": {
|
|
4552
|
+
"type": "string"
|
|
4553
|
+
},
|
|
4554
|
+
"force": {
|
|
4555
|
+
"type": "boolean"
|
|
4556
|
+
},
|
|
4533
4557
|
"target": {
|
|
4534
|
-
"
|
|
4558
|
+
"type": "object",
|
|
4535
4559
|
"properties": {
|
|
4536
|
-
"blockId": {
|
|
4537
|
-
"type": "string"
|
|
4538
|
-
},
|
|
4539
4560
|
"kind": {
|
|
4540
4561
|
"const": "text"
|
|
4541
4562
|
},
|
|
4563
|
+
"blockId": {
|
|
4564
|
+
"type": "string"
|
|
4565
|
+
},
|
|
4542
4566
|
"range": {
|
|
4543
|
-
"
|
|
4567
|
+
"type": "object",
|
|
4544
4568
|
"properties": {
|
|
4545
|
-
"end": {
|
|
4546
|
-
"type": "integer"
|
|
4547
|
-
},
|
|
4548
4569
|
"start": {
|
|
4549
|
-
"type": "
|
|
4570
|
+
"type": "number"
|
|
4571
|
+
},
|
|
4572
|
+
"end": {
|
|
4573
|
+
"type": "number"
|
|
4550
4574
|
}
|
|
4551
4575
|
},
|
|
4552
4576
|
"required": [
|
|
4553
4577
|
"start",
|
|
4554
4578
|
"end"
|
|
4555
|
-
]
|
|
4556
|
-
"type": "object"
|
|
4579
|
+
]
|
|
4557
4580
|
}
|
|
4558
4581
|
},
|
|
4559
4582
|
"required": [
|
|
4560
4583
|
"kind",
|
|
4561
4584
|
"blockId",
|
|
4562
4585
|
"range"
|
|
4563
|
-
]
|
|
4564
|
-
"type": "object"
|
|
4586
|
+
]
|
|
4565
4587
|
},
|
|
4566
4588
|
"text": {
|
|
4567
4589
|
"type": "string"
|
|
@@ -4571,7 +4593,7 @@
|
|
|
4571
4593
|
"target",
|
|
4572
4594
|
"text"
|
|
4573
4595
|
],
|
|
4574
|
-
"
|
|
4596
|
+
"additionalProperties": false
|
|
4575
4597
|
},
|
|
4576
4598
|
"returns": {
|
|
4577
4599
|
"additionalProperties": false,
|
|
@@ -4754,9 +4776,18 @@
|
|
|
4754
4776
|
"name": "edit_comment",
|
|
4755
4777
|
"description": "Edit the content of an existing comment.",
|
|
4756
4778
|
"parameters": {
|
|
4757
|
-
"
|
|
4779
|
+
"type": "object",
|
|
4758
4780
|
"properties": {
|
|
4759
|
-
"
|
|
4781
|
+
"doc": {
|
|
4782
|
+
"type": "string"
|
|
4783
|
+
},
|
|
4784
|
+
"sessionId": {
|
|
4785
|
+
"type": "string"
|
|
4786
|
+
},
|
|
4787
|
+
"force": {
|
|
4788
|
+
"type": "boolean"
|
|
4789
|
+
},
|
|
4790
|
+
"id": {
|
|
4760
4791
|
"type": "string"
|
|
4761
4792
|
},
|
|
4762
4793
|
"text": {
|
|
@@ -4764,10 +4795,10 @@
|
|
|
4764
4795
|
}
|
|
4765
4796
|
},
|
|
4766
4797
|
"required": [
|
|
4767
|
-
"
|
|
4798
|
+
"id",
|
|
4768
4799
|
"text"
|
|
4769
4800
|
],
|
|
4770
|
-
"
|
|
4801
|
+
"additionalProperties": false
|
|
4771
4802
|
},
|
|
4772
4803
|
"returns": {
|
|
4773
4804
|
"additionalProperties": false,
|
|
@@ -4950,9 +4981,18 @@
|
|
|
4950
4981
|
"name": "reply_to_comment",
|
|
4951
4982
|
"description": "Add a reply to an existing comment thread.",
|
|
4952
4983
|
"parameters": {
|
|
4953
|
-
"
|
|
4984
|
+
"type": "object",
|
|
4954
4985
|
"properties": {
|
|
4955
|
-
"
|
|
4986
|
+
"doc": {
|
|
4987
|
+
"type": "string"
|
|
4988
|
+
},
|
|
4989
|
+
"sessionId": {
|
|
4990
|
+
"type": "string"
|
|
4991
|
+
},
|
|
4992
|
+
"force": {
|
|
4993
|
+
"type": "boolean"
|
|
4994
|
+
},
|
|
4995
|
+
"parentId": {
|
|
4956
4996
|
"type": "string"
|
|
4957
4997
|
},
|
|
4958
4998
|
"text": {
|
|
@@ -4960,10 +5000,10 @@
|
|
|
4960
5000
|
}
|
|
4961
5001
|
},
|
|
4962
5002
|
"required": [
|
|
4963
|
-
"
|
|
5003
|
+
"parentId",
|
|
4964
5004
|
"text"
|
|
4965
5005
|
],
|
|
4966
|
-
"
|
|
5006
|
+
"additionalProperties": false
|
|
4967
5007
|
},
|
|
4968
5008
|
"returns": {
|
|
4969
5009
|
"additionalProperties": false,
|
|
@@ -5146,50 +5186,57 @@
|
|
|
5146
5186
|
"name": "move_comment",
|
|
5147
5187
|
"description": "Move a comment thread to a new anchor range.",
|
|
5148
5188
|
"parameters": {
|
|
5149
|
-
"
|
|
5189
|
+
"type": "object",
|
|
5150
5190
|
"properties": {
|
|
5151
|
-
"
|
|
5191
|
+
"doc": {
|
|
5192
|
+
"type": "string"
|
|
5193
|
+
},
|
|
5194
|
+
"sessionId": {
|
|
5195
|
+
"type": "string"
|
|
5196
|
+
},
|
|
5197
|
+
"force": {
|
|
5198
|
+
"type": "boolean"
|
|
5199
|
+
},
|
|
5200
|
+
"id": {
|
|
5152
5201
|
"type": "string"
|
|
5153
5202
|
},
|
|
5154
5203
|
"target": {
|
|
5155
|
-
"
|
|
5204
|
+
"type": "object",
|
|
5156
5205
|
"properties": {
|
|
5157
|
-
"blockId": {
|
|
5158
|
-
"type": "string"
|
|
5159
|
-
},
|
|
5160
5206
|
"kind": {
|
|
5161
5207
|
"const": "text"
|
|
5162
5208
|
},
|
|
5209
|
+
"blockId": {
|
|
5210
|
+
"type": "string"
|
|
5211
|
+
},
|
|
5163
5212
|
"range": {
|
|
5164
|
-
"
|
|
5213
|
+
"type": "object",
|
|
5165
5214
|
"properties": {
|
|
5166
|
-
"end": {
|
|
5167
|
-
"type": "integer"
|
|
5168
|
-
},
|
|
5169
5215
|
"start": {
|
|
5170
|
-
"type": "
|
|
5216
|
+
"type": "number"
|
|
5217
|
+
},
|
|
5218
|
+
"end": {
|
|
5219
|
+
"type": "number"
|
|
5171
5220
|
}
|
|
5172
5221
|
},
|
|
5173
5222
|
"required": [
|
|
5174
5223
|
"start",
|
|
5175
5224
|
"end"
|
|
5176
|
-
]
|
|
5177
|
-
"type": "object"
|
|
5225
|
+
]
|
|
5178
5226
|
}
|
|
5179
5227
|
},
|
|
5180
5228
|
"required": [
|
|
5181
5229
|
"kind",
|
|
5182
5230
|
"blockId",
|
|
5183
5231
|
"range"
|
|
5184
|
-
]
|
|
5185
|
-
"type": "object"
|
|
5232
|
+
]
|
|
5186
5233
|
}
|
|
5187
5234
|
},
|
|
5188
5235
|
"required": [
|
|
5189
|
-
"
|
|
5236
|
+
"id",
|
|
5190
5237
|
"target"
|
|
5191
5238
|
],
|
|
5192
|
-
"
|
|
5239
|
+
"additionalProperties": false
|
|
5193
5240
|
},
|
|
5194
5241
|
"returns": {
|
|
5195
5242
|
"additionalProperties": false,
|
|
@@ -5372,16 +5419,25 @@
|
|
|
5372
5419
|
"name": "resolve_comment",
|
|
5373
5420
|
"description": "Resolve or unresolve a comment thread.",
|
|
5374
5421
|
"parameters": {
|
|
5375
|
-
"
|
|
5422
|
+
"type": "object",
|
|
5376
5423
|
"properties": {
|
|
5377
|
-
"
|
|
5424
|
+
"doc": {
|
|
5425
|
+
"type": "string"
|
|
5426
|
+
},
|
|
5427
|
+
"sessionId": {
|
|
5428
|
+
"type": "string"
|
|
5429
|
+
},
|
|
5430
|
+
"force": {
|
|
5431
|
+
"type": "boolean"
|
|
5432
|
+
},
|
|
5433
|
+
"id": {
|
|
5378
5434
|
"type": "string"
|
|
5379
5435
|
}
|
|
5380
5436
|
},
|
|
5381
5437
|
"required": [
|
|
5382
|
-
"
|
|
5438
|
+
"id"
|
|
5383
5439
|
],
|
|
5384
|
-
"
|
|
5440
|
+
"additionalProperties": false
|
|
5385
5441
|
},
|
|
5386
5442
|
"returns": {
|
|
5387
5443
|
"additionalProperties": false,
|
|
@@ -5564,16 +5620,25 @@
|
|
|
5564
5620
|
"name": "remove_comment",
|
|
5565
5621
|
"description": "Remove a comment or reply by ID.",
|
|
5566
5622
|
"parameters": {
|
|
5567
|
-
"
|
|
5623
|
+
"type": "object",
|
|
5568
5624
|
"properties": {
|
|
5569
|
-
"
|
|
5625
|
+
"doc": {
|
|
5626
|
+
"type": "string"
|
|
5627
|
+
},
|
|
5628
|
+
"sessionId": {
|
|
5629
|
+
"type": "string"
|
|
5630
|
+
},
|
|
5631
|
+
"force": {
|
|
5632
|
+
"type": "boolean"
|
|
5633
|
+
},
|
|
5634
|
+
"id": {
|
|
5570
5635
|
"type": "string"
|
|
5571
5636
|
}
|
|
5572
5637
|
},
|
|
5573
5638
|
"required": [
|
|
5574
|
-
"
|
|
5639
|
+
"id"
|
|
5575
5640
|
],
|
|
5576
|
-
"
|
|
5641
|
+
"additionalProperties": false
|
|
5577
5642
|
},
|
|
5578
5643
|
"returns": {
|
|
5579
5644
|
"additionalProperties": false,
|
|
@@ -5756,9 +5821,18 @@
|
|
|
5756
5821
|
"name": "set_comment_internal",
|
|
5757
5822
|
"description": "Toggle the internal (private) flag on a comment thread.",
|
|
5758
5823
|
"parameters": {
|
|
5759
|
-
"
|
|
5824
|
+
"type": "object",
|
|
5760
5825
|
"properties": {
|
|
5761
|
-
"
|
|
5826
|
+
"doc": {
|
|
5827
|
+
"type": "string"
|
|
5828
|
+
},
|
|
5829
|
+
"sessionId": {
|
|
5830
|
+
"type": "string"
|
|
5831
|
+
},
|
|
5832
|
+
"force": {
|
|
5833
|
+
"type": "boolean"
|
|
5834
|
+
},
|
|
5835
|
+
"id": {
|
|
5762
5836
|
"type": "string"
|
|
5763
5837
|
},
|
|
5764
5838
|
"isInternal": {
|
|
@@ -5766,10 +5840,10 @@
|
|
|
5766
5840
|
}
|
|
5767
5841
|
},
|
|
5768
5842
|
"required": [
|
|
5769
|
-
"
|
|
5843
|
+
"id",
|
|
5770
5844
|
"isInternal"
|
|
5771
5845
|
],
|
|
5772
|
-
"
|
|
5846
|
+
"additionalProperties": false
|
|
5773
5847
|
},
|
|
5774
5848
|
"returns": {
|
|
5775
5849
|
"additionalProperties": false,
|
|
@@ -5952,19 +6026,28 @@
|
|
|
5952
6026
|
"name": "set_comment_active",
|
|
5953
6027
|
"description": "Set the active (focused) comment thread for UI highlighting.",
|
|
5954
6028
|
"parameters": {
|
|
5955
|
-
"
|
|
6029
|
+
"type": "object",
|
|
5956
6030
|
"properties": {
|
|
6031
|
+
"doc": {
|
|
6032
|
+
"type": "string"
|
|
6033
|
+
},
|
|
6034
|
+
"sessionId": {
|
|
6035
|
+
"type": "string"
|
|
6036
|
+
},
|
|
6037
|
+
"force": {
|
|
6038
|
+
"type": "boolean"
|
|
6039
|
+
},
|
|
5957
6040
|
"commentId": {
|
|
5958
|
-
"type":
|
|
5959
|
-
|
|
5960
|
-
|
|
5961
|
-
|
|
6041
|
+
"type": "json"
|
|
6042
|
+
},
|
|
6043
|
+
"id": {
|
|
6044
|
+
"type": "string"
|
|
6045
|
+
},
|
|
6046
|
+
"clear": {
|
|
6047
|
+
"type": "boolean"
|
|
5962
6048
|
}
|
|
5963
6049
|
},
|
|
5964
|
-
"
|
|
5965
|
-
"commentId"
|
|
5966
|
-
],
|
|
5967
|
-
"type": "object"
|
|
6050
|
+
"additionalProperties": false
|
|
5968
6051
|
},
|
|
5969
6052
|
"returns": {
|
|
5970
6053
|
"additionalProperties": false,
|
|
@@ -6161,16 +6244,22 @@
|
|
|
6161
6244
|
"name": "go_to_comment",
|
|
6162
6245
|
"description": "Scroll the viewport to a comment thread by ID.",
|
|
6163
6246
|
"parameters": {
|
|
6164
|
-
"
|
|
6247
|
+
"type": "object",
|
|
6165
6248
|
"properties": {
|
|
6166
|
-
"
|
|
6249
|
+
"doc": {
|
|
6250
|
+
"type": "string"
|
|
6251
|
+
},
|
|
6252
|
+
"sessionId": {
|
|
6253
|
+
"type": "string"
|
|
6254
|
+
},
|
|
6255
|
+
"id": {
|
|
6167
6256
|
"type": "string"
|
|
6168
6257
|
}
|
|
6169
6258
|
},
|
|
6170
6259
|
"required": [
|
|
6171
|
-
"
|
|
6260
|
+
"id"
|
|
6172
6261
|
],
|
|
6173
|
-
"
|
|
6262
|
+
"additionalProperties": false
|
|
6174
6263
|
},
|
|
6175
6264
|
"returns": {
|
|
6176
6265
|
"additionalProperties": false,
|
|
@@ -6350,16 +6439,22 @@
|
|
|
6350
6439
|
"name": "get_comment",
|
|
6351
6440
|
"description": "Retrieve a single comment thread by ID.",
|
|
6352
6441
|
"parameters": {
|
|
6353
|
-
"
|
|
6442
|
+
"type": "object",
|
|
6354
6443
|
"properties": {
|
|
6355
|
-
"
|
|
6444
|
+
"doc": {
|
|
6445
|
+
"type": "string"
|
|
6446
|
+
},
|
|
6447
|
+
"sessionId": {
|
|
6448
|
+
"type": "string"
|
|
6449
|
+
},
|
|
6450
|
+
"id": {
|
|
6356
6451
|
"type": "string"
|
|
6357
6452
|
}
|
|
6358
6453
|
},
|
|
6359
6454
|
"required": [
|
|
6360
|
-
"
|
|
6455
|
+
"id"
|
|
6361
6456
|
],
|
|
6362
|
-
"
|
|
6457
|
+
"additionalProperties": false
|
|
6363
6458
|
},
|
|
6364
6459
|
"returns": {
|
|
6365
6460
|
"additionalProperties": false,
|
|
@@ -6480,13 +6575,19 @@
|
|
|
6480
6575
|
"name": "list_comments",
|
|
6481
6576
|
"description": "List all comment threads in the document.",
|
|
6482
6577
|
"parameters": {
|
|
6483
|
-
"
|
|
6578
|
+
"type": "object",
|
|
6484
6579
|
"properties": {
|
|
6580
|
+
"doc": {
|
|
6581
|
+
"type": "string"
|
|
6582
|
+
},
|
|
6583
|
+
"sessionId": {
|
|
6584
|
+
"type": "string"
|
|
6585
|
+
},
|
|
6485
6586
|
"includeResolved": {
|
|
6486
6587
|
"type": "boolean"
|
|
6487
6588
|
}
|
|
6488
6589
|
},
|
|
6489
|
-
"
|
|
6590
|
+
"additionalProperties": false
|
|
6490
6591
|
},
|
|
6491
6592
|
"returns": {
|
|
6492
6593
|
"additionalProperties": false,
|
|
@@ -6623,23 +6724,25 @@
|
|
|
6623
6724
|
"name": "list_tracked_changes",
|
|
6624
6725
|
"description": "List all tracked changes in the document.",
|
|
6625
6726
|
"parameters": {
|
|
6626
|
-
"
|
|
6727
|
+
"type": "object",
|
|
6627
6728
|
"properties": {
|
|
6729
|
+
"doc": {
|
|
6730
|
+
"type": "string"
|
|
6731
|
+
},
|
|
6732
|
+
"sessionId": {
|
|
6733
|
+
"type": "string"
|
|
6734
|
+
},
|
|
6628
6735
|
"limit": {
|
|
6629
|
-
"type": "
|
|
6736
|
+
"type": "number"
|
|
6630
6737
|
},
|
|
6631
6738
|
"offset": {
|
|
6632
|
-
"type": "
|
|
6739
|
+
"type": "number"
|
|
6633
6740
|
},
|
|
6634
6741
|
"type": {
|
|
6635
|
-
"
|
|
6636
|
-
"insert",
|
|
6637
|
-
"delete",
|
|
6638
|
-
"format"
|
|
6639
|
-
]
|
|
6742
|
+
"type": "string"
|
|
6640
6743
|
}
|
|
6641
6744
|
},
|
|
6642
|
-
"
|
|
6745
|
+
"additionalProperties": false
|
|
6643
6746
|
},
|
|
6644
6747
|
"returns": {
|
|
6645
6748
|
"additionalProperties": false,
|
|
@@ -6761,8 +6864,14 @@
|
|
|
6761
6864
|
"name": "get_tracked_change",
|
|
6762
6865
|
"description": "Retrieve a single tracked change by ID.",
|
|
6763
6866
|
"parameters": {
|
|
6764
|
-
"
|
|
6867
|
+
"type": "object",
|
|
6765
6868
|
"properties": {
|
|
6869
|
+
"doc": {
|
|
6870
|
+
"type": "string"
|
|
6871
|
+
},
|
|
6872
|
+
"sessionId": {
|
|
6873
|
+
"type": "string"
|
|
6874
|
+
},
|
|
6766
6875
|
"id": {
|
|
6767
6876
|
"type": "string"
|
|
6768
6877
|
}
|
|
@@ -6770,7 +6879,7 @@
|
|
|
6770
6879
|
"required": [
|
|
6771
6880
|
"id"
|
|
6772
6881
|
],
|
|
6773
|
-
"
|
|
6882
|
+
"additionalProperties": false
|
|
6774
6883
|
},
|
|
6775
6884
|
"returns": {
|
|
6776
6885
|
"additionalProperties": false,
|
|
@@ -6853,8 +6962,17 @@
|
|
|
6853
6962
|
"name": "accept_tracked_change",
|
|
6854
6963
|
"description": "Accept a tracked change, applying it permanently.",
|
|
6855
6964
|
"parameters": {
|
|
6856
|
-
"
|
|
6965
|
+
"type": "object",
|
|
6857
6966
|
"properties": {
|
|
6967
|
+
"doc": {
|
|
6968
|
+
"type": "string"
|
|
6969
|
+
},
|
|
6970
|
+
"sessionId": {
|
|
6971
|
+
"type": "string"
|
|
6972
|
+
},
|
|
6973
|
+
"force": {
|
|
6974
|
+
"type": "boolean"
|
|
6975
|
+
},
|
|
6858
6976
|
"id": {
|
|
6859
6977
|
"type": "string"
|
|
6860
6978
|
}
|
|
@@ -6862,7 +6980,7 @@
|
|
|
6862
6980
|
"required": [
|
|
6863
6981
|
"id"
|
|
6864
6982
|
],
|
|
6865
|
-
"
|
|
6983
|
+
"additionalProperties": false
|
|
6866
6984
|
},
|
|
6867
6985
|
"returns": {
|
|
6868
6986
|
"additionalProperties": false,
|
|
@@ -7045,8 +7163,17 @@
|
|
|
7045
7163
|
"name": "reject_tracked_change",
|
|
7046
7164
|
"description": "Reject a tracked change, reverting it.",
|
|
7047
7165
|
"parameters": {
|
|
7048
|
-
"
|
|
7166
|
+
"type": "object",
|
|
7049
7167
|
"properties": {
|
|
7168
|
+
"doc": {
|
|
7169
|
+
"type": "string"
|
|
7170
|
+
},
|
|
7171
|
+
"sessionId": {
|
|
7172
|
+
"type": "string"
|
|
7173
|
+
},
|
|
7174
|
+
"force": {
|
|
7175
|
+
"type": "boolean"
|
|
7176
|
+
},
|
|
7050
7177
|
"id": {
|
|
7051
7178
|
"type": "string"
|
|
7052
7179
|
}
|
|
@@ -7054,7 +7181,7 @@
|
|
|
7054
7181
|
"required": [
|
|
7055
7182
|
"id"
|
|
7056
7183
|
],
|
|
7057
|
-
"
|
|
7184
|
+
"additionalProperties": false
|
|
7058
7185
|
},
|
|
7059
7186
|
"returns": {
|
|
7060
7187
|
"additionalProperties": false,
|
|
@@ -7237,9 +7364,19 @@
|
|
|
7237
7364
|
"name": "accept_all_tracked_changes",
|
|
7238
7365
|
"description": "Accept all tracked changes in the document.",
|
|
7239
7366
|
"parameters": {
|
|
7240
|
-
"
|
|
7241
|
-
"properties": {
|
|
7242
|
-
|
|
7367
|
+
"type": "object",
|
|
7368
|
+
"properties": {
|
|
7369
|
+
"doc": {
|
|
7370
|
+
"type": "string"
|
|
7371
|
+
},
|
|
7372
|
+
"sessionId": {
|
|
7373
|
+
"type": "string"
|
|
7374
|
+
},
|
|
7375
|
+
"force": {
|
|
7376
|
+
"type": "boolean"
|
|
7377
|
+
}
|
|
7378
|
+
},
|
|
7379
|
+
"additionalProperties": false
|
|
7243
7380
|
},
|
|
7244
7381
|
"returns": {
|
|
7245
7382
|
"additionalProperties": false,
|
|
@@ -7422,9 +7559,19 @@
|
|
|
7422
7559
|
"name": "reject_all_tracked_changes",
|
|
7423
7560
|
"description": "Reject all tracked changes in the document.",
|
|
7424
7561
|
"parameters": {
|
|
7425
|
-
"
|
|
7426
|
-
"properties": {
|
|
7427
|
-
|
|
7562
|
+
"type": "object",
|
|
7563
|
+
"properties": {
|
|
7564
|
+
"doc": {
|
|
7565
|
+
"type": "string"
|
|
7566
|
+
},
|
|
7567
|
+
"sessionId": {
|
|
7568
|
+
"type": "string"
|
|
7569
|
+
},
|
|
7570
|
+
"force": {
|
|
7571
|
+
"type": "boolean"
|
|
7572
|
+
}
|
|
7573
|
+
},
|
|
7574
|
+
"additionalProperties": false
|
|
7428
7575
|
},
|
|
7429
7576
|
"returns": {
|
|
7430
7577
|
"additionalProperties": false,
|
|
@@ -8290,221 +8437,178 @@
|
|
|
8290
8437
|
"name": "doc_find",
|
|
8291
8438
|
"description": "Search the document for nodes matching type, text, or attribute criteria.",
|
|
8292
8439
|
"parameters": {
|
|
8293
|
-
"
|
|
8440
|
+
"type": "object",
|
|
8294
8441
|
"properties": {
|
|
8295
|
-
"
|
|
8296
|
-
"type": "
|
|
8297
|
-
},
|
|
8298
|
-
"includeUnknown": {
|
|
8299
|
-
"type": "boolean"
|
|
8300
|
-
},
|
|
8301
|
-
"limit": {
|
|
8302
|
-
"type": "integer"
|
|
8303
|
-
},
|
|
8304
|
-
"offset": {
|
|
8305
|
-
"type": "integer"
|
|
8442
|
+
"doc": {
|
|
8443
|
+
"type": "string"
|
|
8306
8444
|
},
|
|
8307
|
-
"
|
|
8308
|
-
"
|
|
8309
|
-
{
|
|
8310
|
-
"additionalProperties": false,
|
|
8311
|
-
"properties": {
|
|
8312
|
-
"caseSensitive": {
|
|
8313
|
-
"type": "boolean"
|
|
8314
|
-
},
|
|
8315
|
-
"mode": {
|
|
8316
|
-
"enum": [
|
|
8317
|
-
"contains",
|
|
8318
|
-
"regex"
|
|
8319
|
-
]
|
|
8320
|
-
},
|
|
8321
|
-
"pattern": {
|
|
8322
|
-
"type": "string"
|
|
8323
|
-
},
|
|
8324
|
-
"type": {
|
|
8325
|
-
"const": "text"
|
|
8326
|
-
}
|
|
8327
|
-
},
|
|
8328
|
-
"required": [
|
|
8329
|
-
"type",
|
|
8330
|
-
"pattern"
|
|
8331
|
-
],
|
|
8332
|
-
"type": "object"
|
|
8333
|
-
},
|
|
8334
|
-
{
|
|
8335
|
-
"additionalProperties": false,
|
|
8336
|
-
"properties": {
|
|
8337
|
-
"kind": {
|
|
8338
|
-
"enum": [
|
|
8339
|
-
"block",
|
|
8340
|
-
"inline"
|
|
8341
|
-
]
|
|
8342
|
-
},
|
|
8343
|
-
"nodeType": {
|
|
8344
|
-
"enum": [
|
|
8345
|
-
"paragraph",
|
|
8346
|
-
"heading",
|
|
8347
|
-
"listItem",
|
|
8348
|
-
"table",
|
|
8349
|
-
"tableRow",
|
|
8350
|
-
"tableCell",
|
|
8351
|
-
"image",
|
|
8352
|
-
"sdt",
|
|
8353
|
-
"run",
|
|
8354
|
-
"bookmark",
|
|
8355
|
-
"comment",
|
|
8356
|
-
"hyperlink",
|
|
8357
|
-
"footnoteRef",
|
|
8358
|
-
"tab",
|
|
8359
|
-
"lineBreak"
|
|
8360
|
-
]
|
|
8361
|
-
},
|
|
8362
|
-
"type": {
|
|
8363
|
-
"const": "node"
|
|
8364
|
-
}
|
|
8365
|
-
},
|
|
8366
|
-
"required": [
|
|
8367
|
-
"type"
|
|
8368
|
-
],
|
|
8369
|
-
"type": "object"
|
|
8370
|
-
},
|
|
8371
|
-
{
|
|
8372
|
-
"additionalProperties": false,
|
|
8373
|
-
"properties": {
|
|
8374
|
-
"nodeType": {
|
|
8375
|
-
"enum": [
|
|
8376
|
-
"paragraph",
|
|
8377
|
-
"heading",
|
|
8378
|
-
"listItem",
|
|
8379
|
-
"table",
|
|
8380
|
-
"tableRow",
|
|
8381
|
-
"tableCell",
|
|
8382
|
-
"image",
|
|
8383
|
-
"sdt",
|
|
8384
|
-
"run",
|
|
8385
|
-
"bookmark",
|
|
8386
|
-
"comment",
|
|
8387
|
-
"hyperlink",
|
|
8388
|
-
"footnoteRef",
|
|
8389
|
-
"tab",
|
|
8390
|
-
"lineBreak"
|
|
8391
|
-
]
|
|
8392
|
-
}
|
|
8393
|
-
},
|
|
8394
|
-
"required": [
|
|
8395
|
-
"nodeType"
|
|
8396
|
-
],
|
|
8397
|
-
"type": "object"
|
|
8398
|
-
}
|
|
8399
|
-
]
|
|
8445
|
+
"sessionId": {
|
|
8446
|
+
"type": "string"
|
|
8400
8447
|
},
|
|
8401
8448
|
"within": {
|
|
8402
8449
|
"oneOf": [
|
|
8403
8450
|
{
|
|
8404
|
-
"
|
|
8451
|
+
"type": "object",
|
|
8405
8452
|
"properties": {
|
|
8406
8453
|
"kind": {
|
|
8407
8454
|
"const": "block"
|
|
8408
8455
|
},
|
|
8409
|
-
"nodeId": {
|
|
8410
|
-
"type": "string"
|
|
8411
|
-
},
|
|
8412
8456
|
"nodeType": {
|
|
8413
|
-
"
|
|
8414
|
-
|
|
8415
|
-
|
|
8416
|
-
|
|
8417
|
-
|
|
8418
|
-
|
|
8419
|
-
|
|
8420
|
-
|
|
8421
|
-
|
|
8457
|
+
"oneOf": [
|
|
8458
|
+
{
|
|
8459
|
+
"const": "paragraph"
|
|
8460
|
+
},
|
|
8461
|
+
{
|
|
8462
|
+
"const": "heading"
|
|
8463
|
+
},
|
|
8464
|
+
{
|
|
8465
|
+
"const": "listItem"
|
|
8466
|
+
},
|
|
8467
|
+
{
|
|
8468
|
+
"const": "table"
|
|
8469
|
+
},
|
|
8470
|
+
{
|
|
8471
|
+
"const": "tableRow"
|
|
8472
|
+
},
|
|
8473
|
+
{
|
|
8474
|
+
"const": "tableCell"
|
|
8475
|
+
},
|
|
8476
|
+
{
|
|
8477
|
+
"const": "image"
|
|
8478
|
+
},
|
|
8479
|
+
{
|
|
8480
|
+
"const": "sdt"
|
|
8481
|
+
}
|
|
8422
8482
|
]
|
|
8483
|
+
},
|
|
8484
|
+
"nodeId": {
|
|
8485
|
+
"type": "string"
|
|
8423
8486
|
}
|
|
8424
8487
|
},
|
|
8425
8488
|
"required": [
|
|
8426
8489
|
"kind",
|
|
8427
8490
|
"nodeType",
|
|
8428
8491
|
"nodeId"
|
|
8429
|
-
]
|
|
8430
|
-
"type": "object"
|
|
8492
|
+
]
|
|
8431
8493
|
},
|
|
8432
8494
|
{
|
|
8433
|
-
"
|
|
8495
|
+
"type": "object",
|
|
8434
8496
|
"properties": {
|
|
8497
|
+
"kind": {
|
|
8498
|
+
"const": "inline"
|
|
8499
|
+
},
|
|
8500
|
+
"nodeType": {
|
|
8501
|
+
"oneOf": [
|
|
8502
|
+
{
|
|
8503
|
+
"const": "run"
|
|
8504
|
+
},
|
|
8505
|
+
{
|
|
8506
|
+
"const": "bookmark"
|
|
8507
|
+
},
|
|
8508
|
+
{
|
|
8509
|
+
"const": "comment"
|
|
8510
|
+
},
|
|
8511
|
+
{
|
|
8512
|
+
"const": "hyperlink"
|
|
8513
|
+
},
|
|
8514
|
+
{
|
|
8515
|
+
"const": "sdt"
|
|
8516
|
+
},
|
|
8517
|
+
{
|
|
8518
|
+
"const": "image"
|
|
8519
|
+
},
|
|
8520
|
+
{
|
|
8521
|
+
"const": "footnoteRef"
|
|
8522
|
+
},
|
|
8523
|
+
{
|
|
8524
|
+
"const": "tab"
|
|
8525
|
+
},
|
|
8526
|
+
{
|
|
8527
|
+
"const": "lineBreak"
|
|
8528
|
+
}
|
|
8529
|
+
]
|
|
8530
|
+
},
|
|
8435
8531
|
"anchor": {
|
|
8436
|
-
"
|
|
8532
|
+
"type": "object",
|
|
8437
8533
|
"properties": {
|
|
8438
|
-
"
|
|
8439
|
-
"
|
|
8534
|
+
"start": {
|
|
8535
|
+
"type": "object",
|
|
8440
8536
|
"properties": {
|
|
8441
8537
|
"blockId": {
|
|
8442
8538
|
"type": "string"
|
|
8443
8539
|
},
|
|
8444
8540
|
"offset": {
|
|
8445
|
-
"type": "
|
|
8541
|
+
"type": "number"
|
|
8446
8542
|
}
|
|
8447
8543
|
},
|
|
8448
8544
|
"required": [
|
|
8449
8545
|
"blockId",
|
|
8450
8546
|
"offset"
|
|
8451
|
-
]
|
|
8452
|
-
"type": "object"
|
|
8547
|
+
]
|
|
8453
8548
|
},
|
|
8454
|
-
"
|
|
8455
|
-
"
|
|
8549
|
+
"end": {
|
|
8550
|
+
"type": "object",
|
|
8456
8551
|
"properties": {
|
|
8457
8552
|
"blockId": {
|
|
8458
8553
|
"type": "string"
|
|
8459
8554
|
},
|
|
8460
8555
|
"offset": {
|
|
8461
|
-
"type": "
|
|
8556
|
+
"type": "number"
|
|
8462
8557
|
}
|
|
8463
8558
|
},
|
|
8464
8559
|
"required": [
|
|
8465
8560
|
"blockId",
|
|
8466
8561
|
"offset"
|
|
8467
|
-
]
|
|
8468
|
-
"type": "object"
|
|
8562
|
+
]
|
|
8469
8563
|
}
|
|
8470
8564
|
},
|
|
8471
8565
|
"required": [
|
|
8472
8566
|
"start",
|
|
8473
8567
|
"end"
|
|
8474
|
-
],
|
|
8475
|
-
"type": "object"
|
|
8476
|
-
},
|
|
8477
|
-
"kind": {
|
|
8478
|
-
"const": "inline"
|
|
8479
|
-
},
|
|
8480
|
-
"nodeType": {
|
|
8481
|
-
"enum": [
|
|
8482
|
-
"run",
|
|
8483
|
-
"bookmark",
|
|
8484
|
-
"comment",
|
|
8485
|
-
"hyperlink",
|
|
8486
|
-
"sdt",
|
|
8487
|
-
"image",
|
|
8488
|
-
"footnoteRef",
|
|
8489
|
-
"tab",
|
|
8490
|
-
"lineBreak"
|
|
8491
8568
|
]
|
|
8492
8569
|
}
|
|
8493
8570
|
},
|
|
8494
8571
|
"required": [
|
|
8495
8572
|
"kind",
|
|
8496
8573
|
"nodeType",
|
|
8497
|
-
"anchor"
|
|
8498
|
-
]
|
|
8499
|
-
"type": "object"
|
|
8574
|
+
"anchor"
|
|
8575
|
+
]
|
|
8500
8576
|
}
|
|
8501
8577
|
]
|
|
8502
|
-
}
|
|
8578
|
+
},
|
|
8579
|
+
"limit": {
|
|
8580
|
+
"type": "number"
|
|
8581
|
+
},
|
|
8582
|
+
"offset": {
|
|
8583
|
+
"type": "number"
|
|
8584
|
+
},
|
|
8585
|
+
"includeNodes": {
|
|
8586
|
+
"type": "boolean"
|
|
8587
|
+
},
|
|
8588
|
+
"includeUnknown": {
|
|
8589
|
+
"type": "boolean"
|
|
8590
|
+
},
|
|
8591
|
+
"type": {
|
|
8592
|
+
"type": "string"
|
|
8593
|
+
},
|
|
8594
|
+
"nodeType": {
|
|
8595
|
+
"type": "string"
|
|
8596
|
+
},
|
|
8597
|
+
"kind": {
|
|
8598
|
+
"type": "string"
|
|
8599
|
+
},
|
|
8600
|
+
"pattern": {
|
|
8601
|
+
"type": "string"
|
|
8602
|
+
},
|
|
8603
|
+
"mode": {
|
|
8604
|
+
"type": "string"
|
|
8605
|
+
},
|
|
8606
|
+
"caseSensitive": {
|
|
8607
|
+
"type": "boolean"
|
|
8608
|
+
},
|
|
8609
|
+
"query": {}
|
|
8503
8610
|
},
|
|
8504
|
-
"
|
|
8505
|
-
"select"
|
|
8506
|
-
],
|
|
8507
|
-
"type": "object"
|
|
8611
|
+
"additionalProperties": false
|
|
8508
8612
|
},
|
|
8509
8613
|
"returns": {
|
|
8510
8614
|
"additionalProperties": false,
|
|
@@ -9022,106 +9126,17 @@
|
|
|
9022
9126
|
"name": "doc_getNode",
|
|
9023
9127
|
"description": "Retrieve a single node by target position.",
|
|
9024
9128
|
"parameters": {
|
|
9025
|
-
"
|
|
9026
|
-
|
|
9027
|
-
|
|
9028
|
-
"
|
|
9029
|
-
"kind": {
|
|
9030
|
-
"const": "block"
|
|
9031
|
-
},
|
|
9032
|
-
"nodeId": {
|
|
9033
|
-
"type": "string"
|
|
9034
|
-
},
|
|
9035
|
-
"nodeType": {
|
|
9036
|
-
"enum": [
|
|
9037
|
-
"paragraph",
|
|
9038
|
-
"heading",
|
|
9039
|
-
"listItem",
|
|
9040
|
-
"table",
|
|
9041
|
-
"tableRow",
|
|
9042
|
-
"tableCell",
|
|
9043
|
-
"image",
|
|
9044
|
-
"sdt"
|
|
9045
|
-
]
|
|
9046
|
-
}
|
|
9047
|
-
},
|
|
9048
|
-
"required": [
|
|
9049
|
-
"kind",
|
|
9050
|
-
"nodeType",
|
|
9051
|
-
"nodeId"
|
|
9052
|
-
],
|
|
9053
|
-
"type": "object"
|
|
9129
|
+
"type": "object",
|
|
9130
|
+
"properties": {
|
|
9131
|
+
"doc": {
|
|
9132
|
+
"type": "string"
|
|
9054
9133
|
},
|
|
9055
|
-
{
|
|
9056
|
-
"
|
|
9057
|
-
|
|
9058
|
-
|
|
9059
|
-
|
|
9060
|
-
|
|
9061
|
-
"end": {
|
|
9062
|
-
"additionalProperties": false,
|
|
9063
|
-
"properties": {
|
|
9064
|
-
"blockId": {
|
|
9065
|
-
"type": "string"
|
|
9066
|
-
},
|
|
9067
|
-
"offset": {
|
|
9068
|
-
"type": "integer"
|
|
9069
|
-
}
|
|
9070
|
-
},
|
|
9071
|
-
"required": [
|
|
9072
|
-
"blockId",
|
|
9073
|
-
"offset"
|
|
9074
|
-
],
|
|
9075
|
-
"type": "object"
|
|
9076
|
-
},
|
|
9077
|
-
"start": {
|
|
9078
|
-
"additionalProperties": false,
|
|
9079
|
-
"properties": {
|
|
9080
|
-
"blockId": {
|
|
9081
|
-
"type": "string"
|
|
9082
|
-
},
|
|
9083
|
-
"offset": {
|
|
9084
|
-
"type": "integer"
|
|
9085
|
-
}
|
|
9086
|
-
},
|
|
9087
|
-
"required": [
|
|
9088
|
-
"blockId",
|
|
9089
|
-
"offset"
|
|
9090
|
-
],
|
|
9091
|
-
"type": "object"
|
|
9092
|
-
}
|
|
9093
|
-
},
|
|
9094
|
-
"required": [
|
|
9095
|
-
"start",
|
|
9096
|
-
"end"
|
|
9097
|
-
],
|
|
9098
|
-
"type": "object"
|
|
9099
|
-
},
|
|
9100
|
-
"kind": {
|
|
9101
|
-
"const": "inline"
|
|
9102
|
-
},
|
|
9103
|
-
"nodeType": {
|
|
9104
|
-
"enum": [
|
|
9105
|
-
"run",
|
|
9106
|
-
"bookmark",
|
|
9107
|
-
"comment",
|
|
9108
|
-
"hyperlink",
|
|
9109
|
-
"sdt",
|
|
9110
|
-
"image",
|
|
9111
|
-
"footnoteRef",
|
|
9112
|
-
"tab",
|
|
9113
|
-
"lineBreak"
|
|
9114
|
-
]
|
|
9115
|
-
}
|
|
9116
|
-
},
|
|
9117
|
-
"required": [
|
|
9118
|
-
"kind",
|
|
9119
|
-
"nodeType",
|
|
9120
|
-
"anchor"
|
|
9121
|
-
],
|
|
9122
|
-
"type": "object"
|
|
9123
|
-
}
|
|
9124
|
-
]
|
|
9134
|
+
"sessionId": {
|
|
9135
|
+
"type": "string"
|
|
9136
|
+
},
|
|
9137
|
+
"address": {}
|
|
9138
|
+
},
|
|
9139
|
+
"additionalProperties": false
|
|
9125
9140
|
},
|
|
9126
9141
|
"returns": {
|
|
9127
9142
|
"additionalProperties": false,
|
|
@@ -9213,28 +9228,25 @@
|
|
|
9213
9228
|
"name": "doc_getNodeById",
|
|
9214
9229
|
"description": "Retrieve a single node by its unique ID.",
|
|
9215
9230
|
"parameters": {
|
|
9216
|
-
"
|
|
9231
|
+
"type": "object",
|
|
9217
9232
|
"properties": {
|
|
9218
|
-
"
|
|
9233
|
+
"doc": {
|
|
9234
|
+
"type": "string"
|
|
9235
|
+
},
|
|
9236
|
+
"sessionId": {
|
|
9237
|
+
"type": "string"
|
|
9238
|
+
},
|
|
9239
|
+
"id": {
|
|
9219
9240
|
"type": "string"
|
|
9220
9241
|
},
|
|
9221
9242
|
"nodeType": {
|
|
9222
|
-
"
|
|
9223
|
-
"paragraph",
|
|
9224
|
-
"heading",
|
|
9225
|
-
"listItem",
|
|
9226
|
-
"table",
|
|
9227
|
-
"tableRow",
|
|
9228
|
-
"tableCell",
|
|
9229
|
-
"image",
|
|
9230
|
-
"sdt"
|
|
9231
|
-
]
|
|
9243
|
+
"type": "string"
|
|
9232
9244
|
}
|
|
9233
9245
|
},
|
|
9234
9246
|
"required": [
|
|
9235
|
-
"
|
|
9247
|
+
"id"
|
|
9236
9248
|
],
|
|
9237
|
-
"
|
|
9249
|
+
"additionalProperties": false
|
|
9238
9250
|
},
|
|
9239
9251
|
"returns": {
|
|
9240
9252
|
"additionalProperties": false,
|
|
@@ -9326,9 +9338,16 @@
|
|
|
9326
9338
|
"name": "doc_info",
|
|
9327
9339
|
"description": "Return document metadata including revision, node count, and capabilities.",
|
|
9328
9340
|
"parameters": {
|
|
9329
|
-
"
|
|
9330
|
-
"properties": {
|
|
9331
|
-
|
|
9341
|
+
"type": "object",
|
|
9342
|
+
"properties": {
|
|
9343
|
+
"doc": {
|
|
9344
|
+
"type": "string"
|
|
9345
|
+
},
|
|
9346
|
+
"sessionId": {
|
|
9347
|
+
"type": "string"
|
|
9348
|
+
}
|
|
9349
|
+
},
|
|
9350
|
+
"additionalProperties": false
|
|
9332
9351
|
},
|
|
9333
9352
|
"returns": {
|
|
9334
9353
|
"additionalProperties": false,
|
|
@@ -9442,49 +9461,62 @@
|
|
|
9442
9461
|
"name": "doc_insert",
|
|
9443
9462
|
"description": "Insert text or inline content at a target position.",
|
|
9444
9463
|
"parameters": {
|
|
9445
|
-
"
|
|
9464
|
+
"type": "object",
|
|
9446
9465
|
"properties": {
|
|
9466
|
+
"doc": {
|
|
9467
|
+
"type": "string"
|
|
9468
|
+
},
|
|
9469
|
+
"sessionId": {
|
|
9470
|
+
"type": "string"
|
|
9471
|
+
},
|
|
9472
|
+
"force": {
|
|
9473
|
+
"type": "boolean"
|
|
9474
|
+
},
|
|
9447
9475
|
"target": {
|
|
9448
|
-
"
|
|
9476
|
+
"type": "object",
|
|
9449
9477
|
"properties": {
|
|
9450
|
-
"blockId": {
|
|
9451
|
-
"type": "string"
|
|
9452
|
-
},
|
|
9453
9478
|
"kind": {
|
|
9454
9479
|
"const": "text"
|
|
9455
9480
|
},
|
|
9481
|
+
"blockId": {
|
|
9482
|
+
"type": "string"
|
|
9483
|
+
},
|
|
9456
9484
|
"range": {
|
|
9457
|
-
"
|
|
9485
|
+
"type": "object",
|
|
9458
9486
|
"properties": {
|
|
9459
|
-
"end": {
|
|
9460
|
-
"type": "integer"
|
|
9461
|
-
},
|
|
9462
9487
|
"start": {
|
|
9463
|
-
"type": "
|
|
9488
|
+
"type": "number"
|
|
9489
|
+
},
|
|
9490
|
+
"end": {
|
|
9491
|
+
"type": "number"
|
|
9464
9492
|
}
|
|
9465
9493
|
},
|
|
9466
9494
|
"required": [
|
|
9467
9495
|
"start",
|
|
9468
9496
|
"end"
|
|
9469
|
-
]
|
|
9470
|
-
"type": "object"
|
|
9497
|
+
]
|
|
9471
9498
|
}
|
|
9472
9499
|
},
|
|
9473
9500
|
"required": [
|
|
9474
9501
|
"kind",
|
|
9475
9502
|
"blockId",
|
|
9476
9503
|
"range"
|
|
9477
|
-
]
|
|
9478
|
-
"type": "object"
|
|
9504
|
+
]
|
|
9479
9505
|
},
|
|
9480
9506
|
"text": {
|
|
9481
9507
|
"type": "string"
|
|
9508
|
+
},
|
|
9509
|
+
"blockId": {
|
|
9510
|
+
"type": "string"
|
|
9511
|
+
},
|
|
9512
|
+
"offset": {
|
|
9513
|
+
"type": "number"
|
|
9482
9514
|
}
|
|
9483
9515
|
},
|
|
9484
9516
|
"required": [
|
|
9485
9517
|
"text"
|
|
9486
9518
|
],
|
|
9487
|
-
"
|
|
9519
|
+
"additionalProperties": false
|
|
9488
9520
|
},
|
|
9489
9521
|
"returns": {
|
|
9490
9522
|
"additionalProperties": false,
|
|
@@ -9761,40 +9793,47 @@
|
|
|
9761
9793
|
"name": "doc_replace",
|
|
9762
9794
|
"description": "Replace content at a target position with new text or inline content.",
|
|
9763
9795
|
"parameters": {
|
|
9764
|
-
"
|
|
9796
|
+
"type": "object",
|
|
9765
9797
|
"properties": {
|
|
9798
|
+
"doc": {
|
|
9799
|
+
"type": "string"
|
|
9800
|
+
},
|
|
9801
|
+
"sessionId": {
|
|
9802
|
+
"type": "string"
|
|
9803
|
+
},
|
|
9804
|
+
"force": {
|
|
9805
|
+
"type": "boolean"
|
|
9806
|
+
},
|
|
9766
9807
|
"target": {
|
|
9767
|
-
"
|
|
9808
|
+
"type": "object",
|
|
9768
9809
|
"properties": {
|
|
9769
|
-
"blockId": {
|
|
9770
|
-
"type": "string"
|
|
9771
|
-
},
|
|
9772
9810
|
"kind": {
|
|
9773
9811
|
"const": "text"
|
|
9774
9812
|
},
|
|
9813
|
+
"blockId": {
|
|
9814
|
+
"type": "string"
|
|
9815
|
+
},
|
|
9775
9816
|
"range": {
|
|
9776
|
-
"
|
|
9817
|
+
"type": "object",
|
|
9777
9818
|
"properties": {
|
|
9778
|
-
"end": {
|
|
9779
|
-
"type": "integer"
|
|
9780
|
-
},
|
|
9781
9819
|
"start": {
|
|
9782
|
-
"type": "
|
|
9820
|
+
"type": "number"
|
|
9821
|
+
},
|
|
9822
|
+
"end": {
|
|
9823
|
+
"type": "number"
|
|
9783
9824
|
}
|
|
9784
9825
|
},
|
|
9785
9826
|
"required": [
|
|
9786
9827
|
"start",
|
|
9787
9828
|
"end"
|
|
9788
|
-
]
|
|
9789
|
-
"type": "object"
|
|
9829
|
+
]
|
|
9790
9830
|
}
|
|
9791
9831
|
},
|
|
9792
9832
|
"required": [
|
|
9793
9833
|
"kind",
|
|
9794
9834
|
"blockId",
|
|
9795
9835
|
"range"
|
|
9796
|
-
]
|
|
9797
|
-
"type": "object"
|
|
9836
|
+
]
|
|
9798
9837
|
},
|
|
9799
9838
|
"text": {
|
|
9800
9839
|
"type": "string"
|
|
@@ -9804,7 +9843,7 @@
|
|
|
9804
9843
|
"target",
|
|
9805
9844
|
"text"
|
|
9806
9845
|
],
|
|
9807
|
-
"
|
|
9846
|
+
"additionalProperties": false
|
|
9808
9847
|
},
|
|
9809
9848
|
"returns": {
|
|
9810
9849
|
"additionalProperties": false,
|
|
@@ -10081,46 +10120,53 @@
|
|
|
10081
10120
|
"name": "doc_delete",
|
|
10082
10121
|
"description": "Delete content at a target position.",
|
|
10083
10122
|
"parameters": {
|
|
10084
|
-
"
|
|
10123
|
+
"type": "object",
|
|
10085
10124
|
"properties": {
|
|
10125
|
+
"doc": {
|
|
10126
|
+
"type": "string"
|
|
10127
|
+
},
|
|
10128
|
+
"sessionId": {
|
|
10129
|
+
"type": "string"
|
|
10130
|
+
},
|
|
10131
|
+
"force": {
|
|
10132
|
+
"type": "boolean"
|
|
10133
|
+
},
|
|
10086
10134
|
"target": {
|
|
10087
|
-
"
|
|
10135
|
+
"type": "object",
|
|
10088
10136
|
"properties": {
|
|
10089
|
-
"blockId": {
|
|
10090
|
-
"type": "string"
|
|
10091
|
-
},
|
|
10092
10137
|
"kind": {
|
|
10093
10138
|
"const": "text"
|
|
10094
10139
|
},
|
|
10140
|
+
"blockId": {
|
|
10141
|
+
"type": "string"
|
|
10142
|
+
},
|
|
10095
10143
|
"range": {
|
|
10096
|
-
"
|
|
10144
|
+
"type": "object",
|
|
10097
10145
|
"properties": {
|
|
10098
|
-
"end": {
|
|
10099
|
-
"type": "integer"
|
|
10100
|
-
},
|
|
10101
10146
|
"start": {
|
|
10102
|
-
"type": "
|
|
10147
|
+
"type": "number"
|
|
10148
|
+
},
|
|
10149
|
+
"end": {
|
|
10150
|
+
"type": "number"
|
|
10103
10151
|
}
|
|
10104
10152
|
},
|
|
10105
10153
|
"required": [
|
|
10106
10154
|
"start",
|
|
10107
10155
|
"end"
|
|
10108
|
-
]
|
|
10109
|
-
"type": "object"
|
|
10156
|
+
]
|
|
10110
10157
|
}
|
|
10111
10158
|
},
|
|
10112
10159
|
"required": [
|
|
10113
10160
|
"kind",
|
|
10114
10161
|
"blockId",
|
|
10115
10162
|
"range"
|
|
10116
|
-
]
|
|
10117
|
-
"type": "object"
|
|
10163
|
+
]
|
|
10118
10164
|
}
|
|
10119
10165
|
},
|
|
10120
10166
|
"required": [
|
|
10121
10167
|
"target"
|
|
10122
10168
|
],
|
|
10123
|
-
"
|
|
10169
|
+
"additionalProperties": false
|
|
10124
10170
|
},
|
|
10125
10171
|
"returns": {
|
|
10126
10172
|
"additionalProperties": false,
|
|
@@ -10397,46 +10443,53 @@
|
|
|
10397
10443
|
"name": "doc_format_bold",
|
|
10398
10444
|
"description": "Toggle bold formatting on the target range.",
|
|
10399
10445
|
"parameters": {
|
|
10400
|
-
"
|
|
10446
|
+
"type": "object",
|
|
10401
10447
|
"properties": {
|
|
10448
|
+
"doc": {
|
|
10449
|
+
"type": "string"
|
|
10450
|
+
},
|
|
10451
|
+
"sessionId": {
|
|
10452
|
+
"type": "string"
|
|
10453
|
+
},
|
|
10454
|
+
"force": {
|
|
10455
|
+
"type": "boolean"
|
|
10456
|
+
},
|
|
10402
10457
|
"target": {
|
|
10403
|
-
"
|
|
10458
|
+
"type": "object",
|
|
10404
10459
|
"properties": {
|
|
10405
|
-
"blockId": {
|
|
10406
|
-
"type": "string"
|
|
10407
|
-
},
|
|
10408
10460
|
"kind": {
|
|
10409
10461
|
"const": "text"
|
|
10410
10462
|
},
|
|
10463
|
+
"blockId": {
|
|
10464
|
+
"type": "string"
|
|
10465
|
+
},
|
|
10411
10466
|
"range": {
|
|
10412
|
-
"
|
|
10467
|
+
"type": "object",
|
|
10413
10468
|
"properties": {
|
|
10414
|
-
"end": {
|
|
10415
|
-
"type": "integer"
|
|
10416
|
-
},
|
|
10417
10469
|
"start": {
|
|
10418
|
-
"type": "
|
|
10470
|
+
"type": "number"
|
|
10471
|
+
},
|
|
10472
|
+
"end": {
|
|
10473
|
+
"type": "number"
|
|
10419
10474
|
}
|
|
10420
10475
|
},
|
|
10421
10476
|
"required": [
|
|
10422
10477
|
"start",
|
|
10423
10478
|
"end"
|
|
10424
|
-
]
|
|
10425
|
-
"type": "object"
|
|
10479
|
+
]
|
|
10426
10480
|
}
|
|
10427
10481
|
},
|
|
10428
10482
|
"required": [
|
|
10429
10483
|
"kind",
|
|
10430
10484
|
"blockId",
|
|
10431
10485
|
"range"
|
|
10432
|
-
]
|
|
10433
|
-
"type": "object"
|
|
10486
|
+
]
|
|
10434
10487
|
}
|
|
10435
10488
|
},
|
|
10436
10489
|
"required": [
|
|
10437
10490
|
"target"
|
|
10438
10491
|
],
|
|
10439
|
-
"
|
|
10492
|
+
"additionalProperties": false
|
|
10440
10493
|
},
|
|
10441
10494
|
"returns": {
|
|
10442
10495
|
"additionalProperties": false,
|
|
@@ -10714,46 +10767,53 @@
|
|
|
10714
10767
|
"name": "doc_format_italic",
|
|
10715
10768
|
"description": "Toggle italic formatting on the target range.",
|
|
10716
10769
|
"parameters": {
|
|
10717
|
-
"
|
|
10770
|
+
"type": "object",
|
|
10718
10771
|
"properties": {
|
|
10772
|
+
"doc": {
|
|
10773
|
+
"type": "string"
|
|
10774
|
+
},
|
|
10775
|
+
"sessionId": {
|
|
10776
|
+
"type": "string"
|
|
10777
|
+
},
|
|
10778
|
+
"force": {
|
|
10779
|
+
"type": "boolean"
|
|
10780
|
+
},
|
|
10719
10781
|
"target": {
|
|
10720
|
-
"
|
|
10782
|
+
"type": "object",
|
|
10721
10783
|
"properties": {
|
|
10722
|
-
"blockId": {
|
|
10723
|
-
"type": "string"
|
|
10724
|
-
},
|
|
10725
10784
|
"kind": {
|
|
10726
10785
|
"const": "text"
|
|
10727
10786
|
},
|
|
10787
|
+
"blockId": {
|
|
10788
|
+
"type": "string"
|
|
10789
|
+
},
|
|
10728
10790
|
"range": {
|
|
10729
|
-
"
|
|
10791
|
+
"type": "object",
|
|
10730
10792
|
"properties": {
|
|
10731
|
-
"end": {
|
|
10732
|
-
"type": "integer"
|
|
10733
|
-
},
|
|
10734
10793
|
"start": {
|
|
10735
|
-
"type": "
|
|
10794
|
+
"type": "number"
|
|
10795
|
+
},
|
|
10796
|
+
"end": {
|
|
10797
|
+
"type": "number"
|
|
10736
10798
|
}
|
|
10737
10799
|
},
|
|
10738
10800
|
"required": [
|
|
10739
10801
|
"start",
|
|
10740
10802
|
"end"
|
|
10741
|
-
]
|
|
10742
|
-
"type": "object"
|
|
10803
|
+
]
|
|
10743
10804
|
}
|
|
10744
10805
|
},
|
|
10745
10806
|
"required": [
|
|
10746
10807
|
"kind",
|
|
10747
10808
|
"blockId",
|
|
10748
10809
|
"range"
|
|
10749
|
-
]
|
|
10750
|
-
"type": "object"
|
|
10810
|
+
]
|
|
10751
10811
|
}
|
|
10752
10812
|
},
|
|
10753
10813
|
"required": [
|
|
10754
10814
|
"target"
|
|
10755
10815
|
],
|
|
10756
|
-
"
|
|
10816
|
+
"additionalProperties": false
|
|
10757
10817
|
},
|
|
10758
10818
|
"returns": {
|
|
10759
10819
|
"additionalProperties": false,
|
|
@@ -11031,46 +11091,53 @@
|
|
|
11031
11091
|
"name": "doc_format_underline",
|
|
11032
11092
|
"description": "Toggle underline formatting on the target range.",
|
|
11033
11093
|
"parameters": {
|
|
11034
|
-
"
|
|
11094
|
+
"type": "object",
|
|
11035
11095
|
"properties": {
|
|
11096
|
+
"doc": {
|
|
11097
|
+
"type": "string"
|
|
11098
|
+
},
|
|
11099
|
+
"sessionId": {
|
|
11100
|
+
"type": "string"
|
|
11101
|
+
},
|
|
11102
|
+
"force": {
|
|
11103
|
+
"type": "boolean"
|
|
11104
|
+
},
|
|
11036
11105
|
"target": {
|
|
11037
|
-
"
|
|
11106
|
+
"type": "object",
|
|
11038
11107
|
"properties": {
|
|
11039
|
-
"blockId": {
|
|
11040
|
-
"type": "string"
|
|
11041
|
-
},
|
|
11042
11108
|
"kind": {
|
|
11043
11109
|
"const": "text"
|
|
11044
11110
|
},
|
|
11111
|
+
"blockId": {
|
|
11112
|
+
"type": "string"
|
|
11113
|
+
},
|
|
11045
11114
|
"range": {
|
|
11046
|
-
"
|
|
11115
|
+
"type": "object",
|
|
11047
11116
|
"properties": {
|
|
11048
|
-
"end": {
|
|
11049
|
-
"type": "integer"
|
|
11050
|
-
},
|
|
11051
11117
|
"start": {
|
|
11052
|
-
"type": "
|
|
11118
|
+
"type": "number"
|
|
11119
|
+
},
|
|
11120
|
+
"end": {
|
|
11121
|
+
"type": "number"
|
|
11053
11122
|
}
|
|
11054
11123
|
},
|
|
11055
11124
|
"required": [
|
|
11056
11125
|
"start",
|
|
11057
11126
|
"end"
|
|
11058
|
-
]
|
|
11059
|
-
"type": "object"
|
|
11127
|
+
]
|
|
11060
11128
|
}
|
|
11061
11129
|
},
|
|
11062
11130
|
"required": [
|
|
11063
11131
|
"kind",
|
|
11064
11132
|
"blockId",
|
|
11065
11133
|
"range"
|
|
11066
|
-
]
|
|
11067
|
-
"type": "object"
|
|
11134
|
+
]
|
|
11068
11135
|
}
|
|
11069
11136
|
},
|
|
11070
11137
|
"required": [
|
|
11071
11138
|
"target"
|
|
11072
11139
|
],
|
|
11073
|
-
"
|
|
11140
|
+
"additionalProperties": false
|
|
11074
11141
|
},
|
|
11075
11142
|
"returns": {
|
|
11076
11143
|
"additionalProperties": false,
|
|
@@ -11348,46 +11415,53 @@
|
|
|
11348
11415
|
"name": "doc_format_strikethrough",
|
|
11349
11416
|
"description": "Toggle strikethrough formatting on the target range.",
|
|
11350
11417
|
"parameters": {
|
|
11351
|
-
"
|
|
11418
|
+
"type": "object",
|
|
11352
11419
|
"properties": {
|
|
11420
|
+
"doc": {
|
|
11421
|
+
"type": "string"
|
|
11422
|
+
},
|
|
11423
|
+
"sessionId": {
|
|
11424
|
+
"type": "string"
|
|
11425
|
+
},
|
|
11426
|
+
"force": {
|
|
11427
|
+
"type": "boolean"
|
|
11428
|
+
},
|
|
11353
11429
|
"target": {
|
|
11354
|
-
"
|
|
11430
|
+
"type": "object",
|
|
11355
11431
|
"properties": {
|
|
11356
|
-
"blockId": {
|
|
11357
|
-
"type": "string"
|
|
11358
|
-
},
|
|
11359
11432
|
"kind": {
|
|
11360
11433
|
"const": "text"
|
|
11361
11434
|
},
|
|
11435
|
+
"blockId": {
|
|
11436
|
+
"type": "string"
|
|
11437
|
+
},
|
|
11362
11438
|
"range": {
|
|
11363
|
-
"
|
|
11439
|
+
"type": "object",
|
|
11364
11440
|
"properties": {
|
|
11365
|
-
"end": {
|
|
11366
|
-
"type": "integer"
|
|
11367
|
-
},
|
|
11368
11441
|
"start": {
|
|
11369
|
-
"type": "
|
|
11442
|
+
"type": "number"
|
|
11443
|
+
},
|
|
11444
|
+
"end": {
|
|
11445
|
+
"type": "number"
|
|
11370
11446
|
}
|
|
11371
11447
|
},
|
|
11372
11448
|
"required": [
|
|
11373
11449
|
"start",
|
|
11374
11450
|
"end"
|
|
11375
|
-
]
|
|
11376
|
-
"type": "object"
|
|
11451
|
+
]
|
|
11377
11452
|
}
|
|
11378
11453
|
},
|
|
11379
11454
|
"required": [
|
|
11380
11455
|
"kind",
|
|
11381
11456
|
"blockId",
|
|
11382
11457
|
"range"
|
|
11383
|
-
]
|
|
11384
|
-
"type": "object"
|
|
11458
|
+
]
|
|
11385
11459
|
}
|
|
11386
11460
|
},
|
|
11387
11461
|
"required": [
|
|
11388
11462
|
"target"
|
|
11389
11463
|
],
|
|
11390
|
-
"
|
|
11464
|
+
"additionalProperties": false
|
|
11391
11465
|
},
|
|
11392
11466
|
"returns": {
|
|
11393
11467
|
"additionalProperties": false,
|
|
@@ -11665,12 +11739,21 @@
|
|
|
11665
11739
|
"name": "doc_create_paragraph",
|
|
11666
11740
|
"description": "Create a new paragraph at the target position.",
|
|
11667
11741
|
"parameters": {
|
|
11668
|
-
"
|
|
11742
|
+
"type": "object",
|
|
11669
11743
|
"properties": {
|
|
11744
|
+
"doc": {
|
|
11745
|
+
"type": "string"
|
|
11746
|
+
},
|
|
11747
|
+
"sessionId": {
|
|
11748
|
+
"type": "string"
|
|
11749
|
+
},
|
|
11750
|
+
"force": {
|
|
11751
|
+
"type": "boolean"
|
|
11752
|
+
},
|
|
11670
11753
|
"at": {
|
|
11671
11754
|
"oneOf": [
|
|
11672
11755
|
{
|
|
11673
|
-
"
|
|
11756
|
+
"type": "object",
|
|
11674
11757
|
"properties": {
|
|
11675
11758
|
"kind": {
|
|
11676
11759
|
"const": "documentStart"
|
|
@@ -11678,11 +11761,10 @@
|
|
|
11678
11761
|
},
|
|
11679
11762
|
"required": [
|
|
11680
11763
|
"kind"
|
|
11681
|
-
]
|
|
11682
|
-
"type": "object"
|
|
11764
|
+
]
|
|
11683
11765
|
},
|
|
11684
11766
|
{
|
|
11685
|
-
"
|
|
11767
|
+
"type": "object",
|
|
11686
11768
|
"properties": {
|
|
11687
11769
|
"kind": {
|
|
11688
11770
|
"const": "documentEnd"
|
|
@@ -11690,100 +11772,128 @@
|
|
|
11690
11772
|
},
|
|
11691
11773
|
"required": [
|
|
11692
11774
|
"kind"
|
|
11693
|
-
]
|
|
11694
|
-
"type": "object"
|
|
11775
|
+
]
|
|
11695
11776
|
},
|
|
11696
11777
|
{
|
|
11697
|
-
"
|
|
11778
|
+
"type": "object",
|
|
11698
11779
|
"properties": {
|
|
11699
11780
|
"kind": {
|
|
11700
11781
|
"const": "before"
|
|
11701
11782
|
},
|
|
11702
11783
|
"target": {
|
|
11703
|
-
"
|
|
11784
|
+
"type": "object",
|
|
11704
11785
|
"properties": {
|
|
11705
11786
|
"kind": {
|
|
11706
11787
|
"const": "block"
|
|
11707
11788
|
},
|
|
11708
|
-
"nodeId": {
|
|
11709
|
-
"type": "string"
|
|
11710
|
-
},
|
|
11711
11789
|
"nodeType": {
|
|
11712
|
-
"
|
|
11713
|
-
|
|
11714
|
-
|
|
11715
|
-
|
|
11716
|
-
|
|
11717
|
-
|
|
11718
|
-
|
|
11719
|
-
|
|
11720
|
-
|
|
11790
|
+
"oneOf": [
|
|
11791
|
+
{
|
|
11792
|
+
"const": "paragraph"
|
|
11793
|
+
},
|
|
11794
|
+
{
|
|
11795
|
+
"const": "heading"
|
|
11796
|
+
},
|
|
11797
|
+
{
|
|
11798
|
+
"const": "listItem"
|
|
11799
|
+
},
|
|
11800
|
+
{
|
|
11801
|
+
"const": "table"
|
|
11802
|
+
},
|
|
11803
|
+
{
|
|
11804
|
+
"const": "tableRow"
|
|
11805
|
+
},
|
|
11806
|
+
{
|
|
11807
|
+
"const": "tableCell"
|
|
11808
|
+
},
|
|
11809
|
+
{
|
|
11810
|
+
"const": "image"
|
|
11811
|
+
},
|
|
11812
|
+
{
|
|
11813
|
+
"const": "sdt"
|
|
11814
|
+
}
|
|
11721
11815
|
]
|
|
11816
|
+
},
|
|
11817
|
+
"nodeId": {
|
|
11818
|
+
"type": "string"
|
|
11722
11819
|
}
|
|
11723
11820
|
},
|
|
11724
11821
|
"required": [
|
|
11725
11822
|
"kind",
|
|
11726
11823
|
"nodeType",
|
|
11727
11824
|
"nodeId"
|
|
11728
|
-
]
|
|
11729
|
-
"type": "object"
|
|
11825
|
+
]
|
|
11730
11826
|
}
|
|
11731
11827
|
},
|
|
11732
11828
|
"required": [
|
|
11733
11829
|
"kind",
|
|
11734
11830
|
"target"
|
|
11735
|
-
]
|
|
11736
|
-
"type": "object"
|
|
11831
|
+
]
|
|
11737
11832
|
},
|
|
11738
11833
|
{
|
|
11739
|
-
"
|
|
11834
|
+
"type": "object",
|
|
11740
11835
|
"properties": {
|
|
11741
11836
|
"kind": {
|
|
11742
11837
|
"const": "after"
|
|
11743
11838
|
},
|
|
11744
11839
|
"target": {
|
|
11745
|
-
"
|
|
11840
|
+
"type": "object",
|
|
11746
11841
|
"properties": {
|
|
11747
11842
|
"kind": {
|
|
11748
11843
|
"const": "block"
|
|
11749
11844
|
},
|
|
11750
|
-
"nodeId": {
|
|
11751
|
-
"type": "string"
|
|
11752
|
-
},
|
|
11753
11845
|
"nodeType": {
|
|
11754
|
-
"
|
|
11755
|
-
|
|
11756
|
-
|
|
11757
|
-
|
|
11758
|
-
|
|
11759
|
-
|
|
11760
|
-
|
|
11761
|
-
|
|
11762
|
-
|
|
11846
|
+
"oneOf": [
|
|
11847
|
+
{
|
|
11848
|
+
"const": "paragraph"
|
|
11849
|
+
},
|
|
11850
|
+
{
|
|
11851
|
+
"const": "heading"
|
|
11852
|
+
},
|
|
11853
|
+
{
|
|
11854
|
+
"const": "listItem"
|
|
11855
|
+
},
|
|
11856
|
+
{
|
|
11857
|
+
"const": "table"
|
|
11858
|
+
},
|
|
11859
|
+
{
|
|
11860
|
+
"const": "tableRow"
|
|
11861
|
+
},
|
|
11862
|
+
{
|
|
11863
|
+
"const": "tableCell"
|
|
11864
|
+
},
|
|
11865
|
+
{
|
|
11866
|
+
"const": "image"
|
|
11867
|
+
},
|
|
11868
|
+
{
|
|
11869
|
+
"const": "sdt"
|
|
11870
|
+
}
|
|
11763
11871
|
]
|
|
11872
|
+
},
|
|
11873
|
+
"nodeId": {
|
|
11874
|
+
"type": "string"
|
|
11764
11875
|
}
|
|
11765
11876
|
},
|
|
11766
11877
|
"required": [
|
|
11767
11878
|
"kind",
|
|
11768
11879
|
"nodeType",
|
|
11769
11880
|
"nodeId"
|
|
11770
|
-
]
|
|
11771
|
-
"type": "object"
|
|
11881
|
+
]
|
|
11772
11882
|
}
|
|
11773
11883
|
},
|
|
11774
11884
|
"required": [
|
|
11775
11885
|
"kind",
|
|
11776
11886
|
"target"
|
|
11777
|
-
]
|
|
11778
|
-
"type": "object"
|
|
11887
|
+
]
|
|
11779
11888
|
}
|
|
11780
11889
|
]
|
|
11781
11890
|
},
|
|
11782
11891
|
"text": {
|
|
11783
11892
|
"type": "string"
|
|
11784
|
-
}
|
|
11893
|
+
},
|
|
11894
|
+
"input": {}
|
|
11785
11895
|
},
|
|
11786
|
-
"
|
|
11896
|
+
"additionalProperties": false
|
|
11787
11897
|
},
|
|
11788
11898
|
"returns": {
|
|
11789
11899
|
"additionalProperties": false,
|
|
@@ -11902,57 +12012,76 @@
|
|
|
11902
12012
|
"name": "doc_lists_list",
|
|
11903
12013
|
"description": "List all list nodes in the document, optionally filtered by scope.",
|
|
11904
12014
|
"parameters": {
|
|
11905
|
-
"
|
|
12015
|
+
"type": "object",
|
|
11906
12016
|
"properties": {
|
|
11907
|
-
"
|
|
11908
|
-
"
|
|
11909
|
-
"ordered",
|
|
11910
|
-
"bullet"
|
|
11911
|
-
]
|
|
11912
|
-
},
|
|
11913
|
-
"level": {
|
|
11914
|
-
"type": "integer"
|
|
11915
|
-
},
|
|
11916
|
-
"limit": {
|
|
11917
|
-
"type": "integer"
|
|
11918
|
-
},
|
|
11919
|
-
"offset": {
|
|
11920
|
-
"type": "integer"
|
|
12017
|
+
"doc": {
|
|
12018
|
+
"type": "string"
|
|
11921
12019
|
},
|
|
11922
|
-
"
|
|
11923
|
-
"type": "
|
|
12020
|
+
"sessionId": {
|
|
12021
|
+
"type": "string"
|
|
11924
12022
|
},
|
|
11925
12023
|
"within": {
|
|
11926
|
-
"
|
|
12024
|
+
"type": "object",
|
|
11927
12025
|
"properties": {
|
|
11928
12026
|
"kind": {
|
|
11929
12027
|
"const": "block"
|
|
11930
12028
|
},
|
|
11931
|
-
"nodeId": {
|
|
11932
|
-
"type": "string"
|
|
11933
|
-
},
|
|
11934
12029
|
"nodeType": {
|
|
11935
|
-
"
|
|
11936
|
-
|
|
11937
|
-
|
|
11938
|
-
|
|
11939
|
-
|
|
11940
|
-
|
|
11941
|
-
|
|
11942
|
-
|
|
11943
|
-
|
|
12030
|
+
"oneOf": [
|
|
12031
|
+
{
|
|
12032
|
+
"const": "paragraph"
|
|
12033
|
+
},
|
|
12034
|
+
{
|
|
12035
|
+
"const": "heading"
|
|
12036
|
+
},
|
|
12037
|
+
{
|
|
12038
|
+
"const": "listItem"
|
|
12039
|
+
},
|
|
12040
|
+
{
|
|
12041
|
+
"const": "table"
|
|
12042
|
+
},
|
|
12043
|
+
{
|
|
12044
|
+
"const": "tableRow"
|
|
12045
|
+
},
|
|
12046
|
+
{
|
|
12047
|
+
"const": "tableCell"
|
|
12048
|
+
},
|
|
12049
|
+
{
|
|
12050
|
+
"const": "image"
|
|
12051
|
+
},
|
|
12052
|
+
{
|
|
12053
|
+
"const": "sdt"
|
|
12054
|
+
}
|
|
11944
12055
|
]
|
|
12056
|
+
},
|
|
12057
|
+
"nodeId": {
|
|
12058
|
+
"type": "string"
|
|
11945
12059
|
}
|
|
11946
12060
|
},
|
|
11947
12061
|
"required": [
|
|
11948
12062
|
"kind",
|
|
11949
12063
|
"nodeType",
|
|
11950
12064
|
"nodeId"
|
|
11951
|
-
]
|
|
11952
|
-
|
|
11953
|
-
|
|
12065
|
+
]
|
|
12066
|
+
},
|
|
12067
|
+
"limit": {
|
|
12068
|
+
"type": "number"
|
|
12069
|
+
},
|
|
12070
|
+
"offset": {
|
|
12071
|
+
"type": "number"
|
|
12072
|
+
},
|
|
12073
|
+
"kind": {
|
|
12074
|
+
"type": "string"
|
|
12075
|
+
},
|
|
12076
|
+
"level": {
|
|
12077
|
+
"type": "number"
|
|
12078
|
+
},
|
|
12079
|
+
"ordinal": {
|
|
12080
|
+
"type": "number"
|
|
12081
|
+
},
|
|
12082
|
+
"query": {}
|
|
11954
12083
|
},
|
|
11955
|
-
"
|
|
12084
|
+
"additionalProperties": false
|
|
11956
12085
|
},
|
|
11957
12086
|
"returns": {
|
|
11958
12087
|
"additionalProperties": false,
|
|
@@ -12099,33 +12228,38 @@
|
|
|
12099
12228
|
"name": "doc_lists_get",
|
|
12100
12229
|
"description": "Retrieve a specific list node by target.",
|
|
12101
12230
|
"parameters": {
|
|
12102
|
-
"
|
|
12231
|
+
"type": "object",
|
|
12103
12232
|
"properties": {
|
|
12233
|
+
"doc": {
|
|
12234
|
+
"type": "string"
|
|
12235
|
+
},
|
|
12236
|
+
"sessionId": {
|
|
12237
|
+
"type": "string"
|
|
12238
|
+
},
|
|
12104
12239
|
"address": {
|
|
12105
|
-
"
|
|
12240
|
+
"type": "object",
|
|
12106
12241
|
"properties": {
|
|
12107
12242
|
"kind": {
|
|
12108
12243
|
"const": "block"
|
|
12109
12244
|
},
|
|
12110
|
-
"nodeId": {
|
|
12111
|
-
"type": "string"
|
|
12112
|
-
},
|
|
12113
12245
|
"nodeType": {
|
|
12114
12246
|
"const": "listItem"
|
|
12247
|
+
},
|
|
12248
|
+
"nodeId": {
|
|
12249
|
+
"type": "string"
|
|
12115
12250
|
}
|
|
12116
12251
|
},
|
|
12117
12252
|
"required": [
|
|
12118
12253
|
"kind",
|
|
12119
12254
|
"nodeType",
|
|
12120
12255
|
"nodeId"
|
|
12121
|
-
]
|
|
12122
|
-
"type": "object"
|
|
12256
|
+
]
|
|
12123
12257
|
}
|
|
12124
12258
|
},
|
|
12125
12259
|
"required": [
|
|
12126
12260
|
"address"
|
|
12127
12261
|
],
|
|
12128
|
-
"
|
|
12262
|
+
"additionalProperties": false
|
|
12129
12263
|
},
|
|
12130
12264
|
"returns": {
|
|
12131
12265
|
"additionalProperties": false,
|
|
@@ -12204,43 +12338,45 @@
|
|
|
12204
12338
|
"name": "doc_lists_insert",
|
|
12205
12339
|
"description": "Insert a new list at the target position.",
|
|
12206
12340
|
"parameters": {
|
|
12207
|
-
"
|
|
12341
|
+
"type": "object",
|
|
12208
12342
|
"properties": {
|
|
12209
|
-
"
|
|
12210
|
-
"
|
|
12211
|
-
|
|
12212
|
-
|
|
12213
|
-
|
|
12343
|
+
"doc": {
|
|
12344
|
+
"type": "string"
|
|
12345
|
+
},
|
|
12346
|
+
"sessionId": {
|
|
12347
|
+
"type": "string"
|
|
12348
|
+
},
|
|
12349
|
+
"force": {
|
|
12350
|
+
"type": "boolean"
|
|
12214
12351
|
},
|
|
12215
12352
|
"target": {
|
|
12216
|
-
"
|
|
12353
|
+
"type": "object",
|
|
12217
12354
|
"properties": {
|
|
12218
12355
|
"kind": {
|
|
12219
12356
|
"const": "block"
|
|
12220
12357
|
},
|
|
12221
|
-
"nodeId": {
|
|
12222
|
-
"type": "string"
|
|
12223
|
-
},
|
|
12224
12358
|
"nodeType": {
|
|
12225
12359
|
"const": "listItem"
|
|
12360
|
+
},
|
|
12361
|
+
"nodeId": {
|
|
12362
|
+
"type": "string"
|
|
12226
12363
|
}
|
|
12227
12364
|
},
|
|
12228
12365
|
"required": [
|
|
12229
12366
|
"kind",
|
|
12230
12367
|
"nodeType",
|
|
12231
12368
|
"nodeId"
|
|
12232
|
-
]
|
|
12233
|
-
|
|
12369
|
+
]
|
|
12370
|
+
},
|
|
12371
|
+
"position": {
|
|
12372
|
+
"type": "string"
|
|
12234
12373
|
},
|
|
12235
12374
|
"text": {
|
|
12236
12375
|
"type": "string"
|
|
12237
|
-
}
|
|
12376
|
+
},
|
|
12377
|
+
"input": {}
|
|
12238
12378
|
},
|
|
12239
|
-
"
|
|
12240
|
-
"target",
|
|
12241
|
-
"position"
|
|
12242
|
-
],
|
|
12243
|
-
"type": "object"
|
|
12379
|
+
"additionalProperties": false
|
|
12244
12380
|
},
|
|
12245
12381
|
"returns": {
|
|
12246
12382
|
"additionalProperties": false,
|
|
@@ -12360,40 +12496,42 @@
|
|
|
12360
12496
|
"name": "doc_lists_setType",
|
|
12361
12497
|
"description": "Change the list type (ordered, unordered) of a target list.",
|
|
12362
12498
|
"parameters": {
|
|
12363
|
-
"
|
|
12499
|
+
"type": "object",
|
|
12364
12500
|
"properties": {
|
|
12365
|
-
"
|
|
12366
|
-
"
|
|
12367
|
-
|
|
12368
|
-
|
|
12369
|
-
|
|
12501
|
+
"doc": {
|
|
12502
|
+
"type": "string"
|
|
12503
|
+
},
|
|
12504
|
+
"sessionId": {
|
|
12505
|
+
"type": "string"
|
|
12506
|
+
},
|
|
12507
|
+
"force": {
|
|
12508
|
+
"type": "boolean"
|
|
12370
12509
|
},
|
|
12371
12510
|
"target": {
|
|
12372
|
-
"
|
|
12511
|
+
"type": "object",
|
|
12373
12512
|
"properties": {
|
|
12374
12513
|
"kind": {
|
|
12375
12514
|
"const": "block"
|
|
12376
12515
|
},
|
|
12377
|
-
"nodeId": {
|
|
12378
|
-
"type": "string"
|
|
12379
|
-
},
|
|
12380
12516
|
"nodeType": {
|
|
12381
12517
|
"const": "listItem"
|
|
12518
|
+
},
|
|
12519
|
+
"nodeId": {
|
|
12520
|
+
"type": "string"
|
|
12382
12521
|
}
|
|
12383
12522
|
},
|
|
12384
12523
|
"required": [
|
|
12385
12524
|
"kind",
|
|
12386
12525
|
"nodeType",
|
|
12387
12526
|
"nodeId"
|
|
12388
|
-
]
|
|
12389
|
-
|
|
12390
|
-
|
|
12527
|
+
]
|
|
12528
|
+
},
|
|
12529
|
+
"kind": {
|
|
12530
|
+
"type": "string"
|
|
12531
|
+
},
|
|
12532
|
+
"input": {}
|
|
12391
12533
|
},
|
|
12392
|
-
"
|
|
12393
|
-
"target",
|
|
12394
|
-
"kind"
|
|
12395
|
-
],
|
|
12396
|
-
"type": "object"
|
|
12534
|
+
"additionalProperties": false
|
|
12397
12535
|
},
|
|
12398
12536
|
"returns": {
|
|
12399
12537
|
"additionalProperties": false,
|
|
@@ -12456,33 +12594,39 @@
|
|
|
12456
12594
|
"name": "doc_lists_indent",
|
|
12457
12595
|
"description": "Increase the indentation level of a list item.",
|
|
12458
12596
|
"parameters": {
|
|
12459
|
-
"
|
|
12597
|
+
"type": "object",
|
|
12460
12598
|
"properties": {
|
|
12599
|
+
"doc": {
|
|
12600
|
+
"type": "string"
|
|
12601
|
+
},
|
|
12602
|
+
"sessionId": {
|
|
12603
|
+
"type": "string"
|
|
12604
|
+
},
|
|
12605
|
+
"force": {
|
|
12606
|
+
"type": "boolean"
|
|
12607
|
+
},
|
|
12461
12608
|
"target": {
|
|
12462
|
-
"
|
|
12609
|
+
"type": "object",
|
|
12463
12610
|
"properties": {
|
|
12464
12611
|
"kind": {
|
|
12465
12612
|
"const": "block"
|
|
12466
12613
|
},
|
|
12467
|
-
"nodeId": {
|
|
12468
|
-
"type": "string"
|
|
12469
|
-
},
|
|
12470
12614
|
"nodeType": {
|
|
12471
12615
|
"const": "listItem"
|
|
12616
|
+
},
|
|
12617
|
+
"nodeId": {
|
|
12618
|
+
"type": "string"
|
|
12472
12619
|
}
|
|
12473
12620
|
},
|
|
12474
12621
|
"required": [
|
|
12475
12622
|
"kind",
|
|
12476
12623
|
"nodeType",
|
|
12477
12624
|
"nodeId"
|
|
12478
|
-
]
|
|
12479
|
-
|
|
12480
|
-
}
|
|
12625
|
+
]
|
|
12626
|
+
},
|
|
12627
|
+
"input": {}
|
|
12481
12628
|
},
|
|
12482
|
-
"
|
|
12483
|
-
"target"
|
|
12484
|
-
],
|
|
12485
|
-
"type": "object"
|
|
12629
|
+
"additionalProperties": false
|
|
12486
12630
|
},
|
|
12487
12631
|
"returns": {
|
|
12488
12632
|
"additionalProperties": false,
|
|
@@ -12545,33 +12689,39 @@
|
|
|
12545
12689
|
"name": "doc_lists_outdent",
|
|
12546
12690
|
"description": "Decrease the indentation level of a list item.",
|
|
12547
12691
|
"parameters": {
|
|
12548
|
-
"
|
|
12692
|
+
"type": "object",
|
|
12549
12693
|
"properties": {
|
|
12694
|
+
"doc": {
|
|
12695
|
+
"type": "string"
|
|
12696
|
+
},
|
|
12697
|
+
"sessionId": {
|
|
12698
|
+
"type": "string"
|
|
12699
|
+
},
|
|
12700
|
+
"force": {
|
|
12701
|
+
"type": "boolean"
|
|
12702
|
+
},
|
|
12550
12703
|
"target": {
|
|
12551
|
-
"
|
|
12704
|
+
"type": "object",
|
|
12552
12705
|
"properties": {
|
|
12553
12706
|
"kind": {
|
|
12554
12707
|
"const": "block"
|
|
12555
12708
|
},
|
|
12556
|
-
"nodeId": {
|
|
12557
|
-
"type": "string"
|
|
12558
|
-
},
|
|
12559
12709
|
"nodeType": {
|
|
12560
12710
|
"const": "listItem"
|
|
12711
|
+
},
|
|
12712
|
+
"nodeId": {
|
|
12713
|
+
"type": "string"
|
|
12561
12714
|
}
|
|
12562
12715
|
},
|
|
12563
12716
|
"required": [
|
|
12564
12717
|
"kind",
|
|
12565
12718
|
"nodeType",
|
|
12566
12719
|
"nodeId"
|
|
12567
|
-
]
|
|
12568
|
-
|
|
12569
|
-
}
|
|
12720
|
+
]
|
|
12721
|
+
},
|
|
12722
|
+
"input": {}
|
|
12570
12723
|
},
|
|
12571
|
-
"
|
|
12572
|
-
"target"
|
|
12573
|
-
],
|
|
12574
|
-
"type": "object"
|
|
12724
|
+
"additionalProperties": false
|
|
12575
12725
|
},
|
|
12576
12726
|
"returns": {
|
|
12577
12727
|
"additionalProperties": false,
|
|
@@ -12634,33 +12784,39 @@
|
|
|
12634
12784
|
"name": "doc_lists_restart",
|
|
12635
12785
|
"description": "Restart numbering of an ordered list at the target item.",
|
|
12636
12786
|
"parameters": {
|
|
12637
|
-
"
|
|
12787
|
+
"type": "object",
|
|
12638
12788
|
"properties": {
|
|
12789
|
+
"doc": {
|
|
12790
|
+
"type": "string"
|
|
12791
|
+
},
|
|
12792
|
+
"sessionId": {
|
|
12793
|
+
"type": "string"
|
|
12794
|
+
},
|
|
12795
|
+
"force": {
|
|
12796
|
+
"type": "boolean"
|
|
12797
|
+
},
|
|
12639
12798
|
"target": {
|
|
12640
|
-
"
|
|
12799
|
+
"type": "object",
|
|
12641
12800
|
"properties": {
|
|
12642
12801
|
"kind": {
|
|
12643
12802
|
"const": "block"
|
|
12644
12803
|
},
|
|
12645
|
-
"nodeId": {
|
|
12646
|
-
"type": "string"
|
|
12647
|
-
},
|
|
12648
12804
|
"nodeType": {
|
|
12649
12805
|
"const": "listItem"
|
|
12806
|
+
},
|
|
12807
|
+
"nodeId": {
|
|
12808
|
+
"type": "string"
|
|
12650
12809
|
}
|
|
12651
12810
|
},
|
|
12652
12811
|
"required": [
|
|
12653
12812
|
"kind",
|
|
12654
12813
|
"nodeType",
|
|
12655
12814
|
"nodeId"
|
|
12656
|
-
]
|
|
12657
|
-
|
|
12658
|
-
}
|
|
12815
|
+
]
|
|
12816
|
+
},
|
|
12817
|
+
"input": {}
|
|
12659
12818
|
},
|
|
12660
|
-
"
|
|
12661
|
-
"target"
|
|
12662
|
-
],
|
|
12663
|
-
"type": "object"
|
|
12819
|
+
"additionalProperties": false
|
|
12664
12820
|
},
|
|
12665
12821
|
"returns": {
|
|
12666
12822
|
"additionalProperties": false,
|
|
@@ -12723,33 +12879,39 @@
|
|
|
12723
12879
|
"name": "doc_lists_exit",
|
|
12724
12880
|
"description": "Exit a list context, converting the target item to a paragraph.",
|
|
12725
12881
|
"parameters": {
|
|
12726
|
-
"
|
|
12882
|
+
"type": "object",
|
|
12727
12883
|
"properties": {
|
|
12884
|
+
"doc": {
|
|
12885
|
+
"type": "string"
|
|
12886
|
+
},
|
|
12887
|
+
"sessionId": {
|
|
12888
|
+
"type": "string"
|
|
12889
|
+
},
|
|
12890
|
+
"force": {
|
|
12891
|
+
"type": "boolean"
|
|
12892
|
+
},
|
|
12728
12893
|
"target": {
|
|
12729
|
-
"
|
|
12894
|
+
"type": "object",
|
|
12730
12895
|
"properties": {
|
|
12731
12896
|
"kind": {
|
|
12732
12897
|
"const": "block"
|
|
12733
12898
|
},
|
|
12734
|
-
"nodeId": {
|
|
12735
|
-
"type": "string"
|
|
12736
|
-
},
|
|
12737
12899
|
"nodeType": {
|
|
12738
12900
|
"const": "listItem"
|
|
12901
|
+
},
|
|
12902
|
+
"nodeId": {
|
|
12903
|
+
"type": "string"
|
|
12739
12904
|
}
|
|
12740
12905
|
},
|
|
12741
12906
|
"required": [
|
|
12742
12907
|
"kind",
|
|
12743
12908
|
"nodeType",
|
|
12744
12909
|
"nodeId"
|
|
12745
|
-
]
|
|
12746
|
-
|
|
12747
|
-
}
|
|
12910
|
+
]
|
|
12911
|
+
},
|
|
12912
|
+
"input": {}
|
|
12748
12913
|
},
|
|
12749
|
-
"
|
|
12750
|
-
"target"
|
|
12751
|
-
],
|
|
12752
|
-
"type": "object"
|
|
12914
|
+
"additionalProperties": false
|
|
12753
12915
|
},
|
|
12754
12916
|
"returns": {
|
|
12755
12917
|
"additionalProperties": false,
|
|
@@ -12812,40 +12974,47 @@
|
|
|
12812
12974
|
"name": "doc_comments_add",
|
|
12813
12975
|
"description": "Add a new comment thread anchored to a target range.",
|
|
12814
12976
|
"parameters": {
|
|
12815
|
-
"
|
|
12977
|
+
"type": "object",
|
|
12816
12978
|
"properties": {
|
|
12979
|
+
"doc": {
|
|
12980
|
+
"type": "string"
|
|
12981
|
+
},
|
|
12982
|
+
"sessionId": {
|
|
12983
|
+
"type": "string"
|
|
12984
|
+
},
|
|
12985
|
+
"force": {
|
|
12986
|
+
"type": "boolean"
|
|
12987
|
+
},
|
|
12817
12988
|
"target": {
|
|
12818
|
-
"
|
|
12989
|
+
"type": "object",
|
|
12819
12990
|
"properties": {
|
|
12820
|
-
"blockId": {
|
|
12821
|
-
"type": "string"
|
|
12822
|
-
},
|
|
12823
12991
|
"kind": {
|
|
12824
12992
|
"const": "text"
|
|
12825
12993
|
},
|
|
12994
|
+
"blockId": {
|
|
12995
|
+
"type": "string"
|
|
12996
|
+
},
|
|
12826
12997
|
"range": {
|
|
12827
|
-
"
|
|
12998
|
+
"type": "object",
|
|
12828
12999
|
"properties": {
|
|
12829
|
-
"end": {
|
|
12830
|
-
"type": "integer"
|
|
12831
|
-
},
|
|
12832
13000
|
"start": {
|
|
12833
|
-
"type": "
|
|
13001
|
+
"type": "number"
|
|
13002
|
+
},
|
|
13003
|
+
"end": {
|
|
13004
|
+
"type": "number"
|
|
12834
13005
|
}
|
|
12835
13006
|
},
|
|
12836
13007
|
"required": [
|
|
12837
13008
|
"start",
|
|
12838
13009
|
"end"
|
|
12839
|
-
]
|
|
12840
|
-
"type": "object"
|
|
13010
|
+
]
|
|
12841
13011
|
}
|
|
12842
13012
|
},
|
|
12843
13013
|
"required": [
|
|
12844
13014
|
"kind",
|
|
12845
13015
|
"blockId",
|
|
12846
13016
|
"range"
|
|
12847
|
-
]
|
|
12848
|
-
"type": "object"
|
|
13017
|
+
]
|
|
12849
13018
|
},
|
|
12850
13019
|
"text": {
|
|
12851
13020
|
"type": "string"
|
|
@@ -12855,7 +13024,7 @@
|
|
|
12855
13024
|
"target",
|
|
12856
13025
|
"text"
|
|
12857
13026
|
],
|
|
12858
|
-
"
|
|
13027
|
+
"additionalProperties": false
|
|
12859
13028
|
},
|
|
12860
13029
|
"returns": {
|
|
12861
13030
|
"additionalProperties": false,
|
|
@@ -13038,9 +13207,18 @@
|
|
|
13038
13207
|
"name": "doc_comments_edit",
|
|
13039
13208
|
"description": "Edit the content of an existing comment.",
|
|
13040
13209
|
"parameters": {
|
|
13041
|
-
"
|
|
13210
|
+
"type": "object",
|
|
13042
13211
|
"properties": {
|
|
13043
|
-
"
|
|
13212
|
+
"doc": {
|
|
13213
|
+
"type": "string"
|
|
13214
|
+
},
|
|
13215
|
+
"sessionId": {
|
|
13216
|
+
"type": "string"
|
|
13217
|
+
},
|
|
13218
|
+
"force": {
|
|
13219
|
+
"type": "boolean"
|
|
13220
|
+
},
|
|
13221
|
+
"id": {
|
|
13044
13222
|
"type": "string"
|
|
13045
13223
|
},
|
|
13046
13224
|
"text": {
|
|
@@ -13048,10 +13226,10 @@
|
|
|
13048
13226
|
}
|
|
13049
13227
|
},
|
|
13050
13228
|
"required": [
|
|
13051
|
-
"
|
|
13229
|
+
"id",
|
|
13052
13230
|
"text"
|
|
13053
13231
|
],
|
|
13054
|
-
"
|
|
13232
|
+
"additionalProperties": false
|
|
13055
13233
|
},
|
|
13056
13234
|
"returns": {
|
|
13057
13235
|
"additionalProperties": false,
|
|
@@ -13234,9 +13412,18 @@
|
|
|
13234
13412
|
"name": "doc_comments_reply",
|
|
13235
13413
|
"description": "Add a reply to an existing comment thread.",
|
|
13236
13414
|
"parameters": {
|
|
13237
|
-
"
|
|
13415
|
+
"type": "object",
|
|
13238
13416
|
"properties": {
|
|
13239
|
-
"
|
|
13417
|
+
"doc": {
|
|
13418
|
+
"type": "string"
|
|
13419
|
+
},
|
|
13420
|
+
"sessionId": {
|
|
13421
|
+
"type": "string"
|
|
13422
|
+
},
|
|
13423
|
+
"force": {
|
|
13424
|
+
"type": "boolean"
|
|
13425
|
+
},
|
|
13426
|
+
"parentId": {
|
|
13240
13427
|
"type": "string"
|
|
13241
13428
|
},
|
|
13242
13429
|
"text": {
|
|
@@ -13244,10 +13431,10 @@
|
|
|
13244
13431
|
}
|
|
13245
13432
|
},
|
|
13246
13433
|
"required": [
|
|
13247
|
-
"
|
|
13434
|
+
"parentId",
|
|
13248
13435
|
"text"
|
|
13249
13436
|
],
|
|
13250
|
-
"
|
|
13437
|
+
"additionalProperties": false
|
|
13251
13438
|
},
|
|
13252
13439
|
"returns": {
|
|
13253
13440
|
"additionalProperties": false,
|
|
@@ -13430,50 +13617,57 @@
|
|
|
13430
13617
|
"name": "doc_comments_move",
|
|
13431
13618
|
"description": "Move a comment thread to a new anchor range.",
|
|
13432
13619
|
"parameters": {
|
|
13433
|
-
"
|
|
13620
|
+
"type": "object",
|
|
13434
13621
|
"properties": {
|
|
13435
|
-
"
|
|
13622
|
+
"doc": {
|
|
13623
|
+
"type": "string"
|
|
13624
|
+
},
|
|
13625
|
+
"sessionId": {
|
|
13626
|
+
"type": "string"
|
|
13627
|
+
},
|
|
13628
|
+
"force": {
|
|
13629
|
+
"type": "boolean"
|
|
13630
|
+
},
|
|
13631
|
+
"id": {
|
|
13436
13632
|
"type": "string"
|
|
13437
13633
|
},
|
|
13438
13634
|
"target": {
|
|
13439
|
-
"
|
|
13635
|
+
"type": "object",
|
|
13440
13636
|
"properties": {
|
|
13441
|
-
"blockId": {
|
|
13442
|
-
"type": "string"
|
|
13443
|
-
},
|
|
13444
13637
|
"kind": {
|
|
13445
13638
|
"const": "text"
|
|
13446
13639
|
},
|
|
13640
|
+
"blockId": {
|
|
13641
|
+
"type": "string"
|
|
13642
|
+
},
|
|
13447
13643
|
"range": {
|
|
13448
|
-
"
|
|
13644
|
+
"type": "object",
|
|
13449
13645
|
"properties": {
|
|
13450
|
-
"end": {
|
|
13451
|
-
"type": "integer"
|
|
13452
|
-
},
|
|
13453
13646
|
"start": {
|
|
13454
|
-
"type": "
|
|
13647
|
+
"type": "number"
|
|
13648
|
+
},
|
|
13649
|
+
"end": {
|
|
13650
|
+
"type": "number"
|
|
13455
13651
|
}
|
|
13456
13652
|
},
|
|
13457
13653
|
"required": [
|
|
13458
13654
|
"start",
|
|
13459
13655
|
"end"
|
|
13460
|
-
]
|
|
13461
|
-
"type": "object"
|
|
13656
|
+
]
|
|
13462
13657
|
}
|
|
13463
13658
|
},
|
|
13464
13659
|
"required": [
|
|
13465
13660
|
"kind",
|
|
13466
13661
|
"blockId",
|
|
13467
13662
|
"range"
|
|
13468
|
-
]
|
|
13469
|
-
"type": "object"
|
|
13663
|
+
]
|
|
13470
13664
|
}
|
|
13471
13665
|
},
|
|
13472
13666
|
"required": [
|
|
13473
|
-
"
|
|
13667
|
+
"id",
|
|
13474
13668
|
"target"
|
|
13475
13669
|
],
|
|
13476
|
-
"
|
|
13670
|
+
"additionalProperties": false
|
|
13477
13671
|
},
|
|
13478
13672
|
"returns": {
|
|
13479
13673
|
"additionalProperties": false,
|
|
@@ -13656,16 +13850,25 @@
|
|
|
13656
13850
|
"name": "doc_comments_resolve",
|
|
13657
13851
|
"description": "Resolve or unresolve a comment thread.",
|
|
13658
13852
|
"parameters": {
|
|
13659
|
-
"
|
|
13853
|
+
"type": "object",
|
|
13660
13854
|
"properties": {
|
|
13661
|
-
"
|
|
13855
|
+
"doc": {
|
|
13856
|
+
"type": "string"
|
|
13857
|
+
},
|
|
13858
|
+
"sessionId": {
|
|
13859
|
+
"type": "string"
|
|
13860
|
+
},
|
|
13861
|
+
"force": {
|
|
13862
|
+
"type": "boolean"
|
|
13863
|
+
},
|
|
13864
|
+
"id": {
|
|
13662
13865
|
"type": "string"
|
|
13663
13866
|
}
|
|
13664
13867
|
},
|
|
13665
13868
|
"required": [
|
|
13666
|
-
"
|
|
13869
|
+
"id"
|
|
13667
13870
|
],
|
|
13668
|
-
"
|
|
13871
|
+
"additionalProperties": false
|
|
13669
13872
|
},
|
|
13670
13873
|
"returns": {
|
|
13671
13874
|
"additionalProperties": false,
|
|
@@ -13848,16 +14051,25 @@
|
|
|
13848
14051
|
"name": "doc_comments_remove",
|
|
13849
14052
|
"description": "Remove a comment or reply by ID.",
|
|
13850
14053
|
"parameters": {
|
|
13851
|
-
"
|
|
14054
|
+
"type": "object",
|
|
13852
14055
|
"properties": {
|
|
13853
|
-
"
|
|
14056
|
+
"doc": {
|
|
14057
|
+
"type": "string"
|
|
14058
|
+
},
|
|
14059
|
+
"sessionId": {
|
|
14060
|
+
"type": "string"
|
|
14061
|
+
},
|
|
14062
|
+
"force": {
|
|
14063
|
+
"type": "boolean"
|
|
14064
|
+
},
|
|
14065
|
+
"id": {
|
|
13854
14066
|
"type": "string"
|
|
13855
14067
|
}
|
|
13856
14068
|
},
|
|
13857
14069
|
"required": [
|
|
13858
|
-
"
|
|
14070
|
+
"id"
|
|
13859
14071
|
],
|
|
13860
|
-
"
|
|
14072
|
+
"additionalProperties": false
|
|
13861
14073
|
},
|
|
13862
14074
|
"returns": {
|
|
13863
14075
|
"additionalProperties": false,
|
|
@@ -14040,9 +14252,18 @@
|
|
|
14040
14252
|
"name": "doc_comments_setInternal",
|
|
14041
14253
|
"description": "Toggle the internal (private) flag on a comment thread.",
|
|
14042
14254
|
"parameters": {
|
|
14043
|
-
"
|
|
14255
|
+
"type": "object",
|
|
14044
14256
|
"properties": {
|
|
14045
|
-
"
|
|
14257
|
+
"doc": {
|
|
14258
|
+
"type": "string"
|
|
14259
|
+
},
|
|
14260
|
+
"sessionId": {
|
|
14261
|
+
"type": "string"
|
|
14262
|
+
},
|
|
14263
|
+
"force": {
|
|
14264
|
+
"type": "boolean"
|
|
14265
|
+
},
|
|
14266
|
+
"id": {
|
|
14046
14267
|
"type": "string"
|
|
14047
14268
|
},
|
|
14048
14269
|
"isInternal": {
|
|
@@ -14050,10 +14271,10 @@
|
|
|
14050
14271
|
}
|
|
14051
14272
|
},
|
|
14052
14273
|
"required": [
|
|
14053
|
-
"
|
|
14274
|
+
"id",
|
|
14054
14275
|
"isInternal"
|
|
14055
14276
|
],
|
|
14056
|
-
"
|
|
14277
|
+
"additionalProperties": false
|
|
14057
14278
|
},
|
|
14058
14279
|
"returns": {
|
|
14059
14280
|
"additionalProperties": false,
|
|
@@ -14236,19 +14457,28 @@
|
|
|
14236
14457
|
"name": "doc_comments_setActive",
|
|
14237
14458
|
"description": "Set the active (focused) comment thread for UI highlighting.",
|
|
14238
14459
|
"parameters": {
|
|
14239
|
-
"
|
|
14460
|
+
"type": "object",
|
|
14240
14461
|
"properties": {
|
|
14462
|
+
"doc": {
|
|
14463
|
+
"type": "string"
|
|
14464
|
+
},
|
|
14465
|
+
"sessionId": {
|
|
14466
|
+
"type": "string"
|
|
14467
|
+
},
|
|
14468
|
+
"force": {
|
|
14469
|
+
"type": "boolean"
|
|
14470
|
+
},
|
|
14241
14471
|
"commentId": {
|
|
14242
|
-
"type":
|
|
14243
|
-
|
|
14244
|
-
|
|
14245
|
-
|
|
14472
|
+
"type": "json"
|
|
14473
|
+
},
|
|
14474
|
+
"id": {
|
|
14475
|
+
"type": "string"
|
|
14476
|
+
},
|
|
14477
|
+
"clear": {
|
|
14478
|
+
"type": "boolean"
|
|
14246
14479
|
}
|
|
14247
14480
|
},
|
|
14248
|
-
"
|
|
14249
|
-
"commentId"
|
|
14250
|
-
],
|
|
14251
|
-
"type": "object"
|
|
14481
|
+
"additionalProperties": false
|
|
14252
14482
|
},
|
|
14253
14483
|
"returns": {
|
|
14254
14484
|
"additionalProperties": false,
|
|
@@ -14445,16 +14675,22 @@
|
|
|
14445
14675
|
"name": "doc_comments_goTo",
|
|
14446
14676
|
"description": "Scroll the viewport to a comment thread by ID.",
|
|
14447
14677
|
"parameters": {
|
|
14448
|
-
"
|
|
14678
|
+
"type": "object",
|
|
14449
14679
|
"properties": {
|
|
14450
|
-
"
|
|
14680
|
+
"doc": {
|
|
14681
|
+
"type": "string"
|
|
14682
|
+
},
|
|
14683
|
+
"sessionId": {
|
|
14684
|
+
"type": "string"
|
|
14685
|
+
},
|
|
14686
|
+
"id": {
|
|
14451
14687
|
"type": "string"
|
|
14452
14688
|
}
|
|
14453
14689
|
},
|
|
14454
14690
|
"required": [
|
|
14455
|
-
"
|
|
14691
|
+
"id"
|
|
14456
14692
|
],
|
|
14457
|
-
"
|
|
14693
|
+
"additionalProperties": false
|
|
14458
14694
|
},
|
|
14459
14695
|
"returns": {
|
|
14460
14696
|
"additionalProperties": false,
|
|
@@ -14634,16 +14870,22 @@
|
|
|
14634
14870
|
"name": "doc_comments_get",
|
|
14635
14871
|
"description": "Retrieve a single comment thread by ID.",
|
|
14636
14872
|
"parameters": {
|
|
14637
|
-
"
|
|
14873
|
+
"type": "object",
|
|
14638
14874
|
"properties": {
|
|
14639
|
-
"
|
|
14875
|
+
"doc": {
|
|
14876
|
+
"type": "string"
|
|
14877
|
+
},
|
|
14878
|
+
"sessionId": {
|
|
14879
|
+
"type": "string"
|
|
14880
|
+
},
|
|
14881
|
+
"id": {
|
|
14640
14882
|
"type": "string"
|
|
14641
14883
|
}
|
|
14642
14884
|
},
|
|
14643
14885
|
"required": [
|
|
14644
|
-
"
|
|
14886
|
+
"id"
|
|
14645
14887
|
],
|
|
14646
|
-
"
|
|
14888
|
+
"additionalProperties": false
|
|
14647
14889
|
},
|
|
14648
14890
|
"returns": {
|
|
14649
14891
|
"additionalProperties": false,
|
|
@@ -14764,13 +15006,19 @@
|
|
|
14764
15006
|
"name": "doc_comments_list",
|
|
14765
15007
|
"description": "List all comment threads in the document.",
|
|
14766
15008
|
"parameters": {
|
|
14767
|
-
"
|
|
15009
|
+
"type": "object",
|
|
14768
15010
|
"properties": {
|
|
15011
|
+
"doc": {
|
|
15012
|
+
"type": "string"
|
|
15013
|
+
},
|
|
15014
|
+
"sessionId": {
|
|
15015
|
+
"type": "string"
|
|
15016
|
+
},
|
|
14769
15017
|
"includeResolved": {
|
|
14770
15018
|
"type": "boolean"
|
|
14771
15019
|
}
|
|
14772
15020
|
},
|
|
14773
|
-
"
|
|
15021
|
+
"additionalProperties": false
|
|
14774
15022
|
},
|
|
14775
15023
|
"returns": {
|
|
14776
15024
|
"additionalProperties": false,
|
|
@@ -14907,23 +15155,25 @@
|
|
|
14907
15155
|
"name": "doc_trackChanges_list",
|
|
14908
15156
|
"description": "List all tracked changes in the document.",
|
|
14909
15157
|
"parameters": {
|
|
14910
|
-
"
|
|
15158
|
+
"type": "object",
|
|
14911
15159
|
"properties": {
|
|
15160
|
+
"doc": {
|
|
15161
|
+
"type": "string"
|
|
15162
|
+
},
|
|
15163
|
+
"sessionId": {
|
|
15164
|
+
"type": "string"
|
|
15165
|
+
},
|
|
14912
15166
|
"limit": {
|
|
14913
|
-
"type": "
|
|
15167
|
+
"type": "number"
|
|
14914
15168
|
},
|
|
14915
15169
|
"offset": {
|
|
14916
|
-
"type": "
|
|
15170
|
+
"type": "number"
|
|
14917
15171
|
},
|
|
14918
15172
|
"type": {
|
|
14919
|
-
"
|
|
14920
|
-
"insert",
|
|
14921
|
-
"delete",
|
|
14922
|
-
"format"
|
|
14923
|
-
]
|
|
15173
|
+
"type": "string"
|
|
14924
15174
|
}
|
|
14925
15175
|
},
|
|
14926
|
-
"
|
|
15176
|
+
"additionalProperties": false
|
|
14927
15177
|
},
|
|
14928
15178
|
"returns": {
|
|
14929
15179
|
"additionalProperties": false,
|
|
@@ -15045,8 +15295,14 @@
|
|
|
15045
15295
|
"name": "doc_trackChanges_get",
|
|
15046
15296
|
"description": "Retrieve a single tracked change by ID.",
|
|
15047
15297
|
"parameters": {
|
|
15048
|
-
"
|
|
15298
|
+
"type": "object",
|
|
15049
15299
|
"properties": {
|
|
15300
|
+
"doc": {
|
|
15301
|
+
"type": "string"
|
|
15302
|
+
},
|
|
15303
|
+
"sessionId": {
|
|
15304
|
+
"type": "string"
|
|
15305
|
+
},
|
|
15050
15306
|
"id": {
|
|
15051
15307
|
"type": "string"
|
|
15052
15308
|
}
|
|
@@ -15054,7 +15310,7 @@
|
|
|
15054
15310
|
"required": [
|
|
15055
15311
|
"id"
|
|
15056
15312
|
],
|
|
15057
|
-
"
|
|
15313
|
+
"additionalProperties": false
|
|
15058
15314
|
},
|
|
15059
15315
|
"returns": {
|
|
15060
15316
|
"additionalProperties": false,
|
|
@@ -15137,8 +15393,17 @@
|
|
|
15137
15393
|
"name": "doc_trackChanges_accept",
|
|
15138
15394
|
"description": "Accept a tracked change, applying it permanently.",
|
|
15139
15395
|
"parameters": {
|
|
15140
|
-
"
|
|
15396
|
+
"type": "object",
|
|
15141
15397
|
"properties": {
|
|
15398
|
+
"doc": {
|
|
15399
|
+
"type": "string"
|
|
15400
|
+
},
|
|
15401
|
+
"sessionId": {
|
|
15402
|
+
"type": "string"
|
|
15403
|
+
},
|
|
15404
|
+
"force": {
|
|
15405
|
+
"type": "boolean"
|
|
15406
|
+
},
|
|
15142
15407
|
"id": {
|
|
15143
15408
|
"type": "string"
|
|
15144
15409
|
}
|
|
@@ -15146,7 +15411,7 @@
|
|
|
15146
15411
|
"required": [
|
|
15147
15412
|
"id"
|
|
15148
15413
|
],
|
|
15149
|
-
"
|
|
15414
|
+
"additionalProperties": false
|
|
15150
15415
|
},
|
|
15151
15416
|
"returns": {
|
|
15152
15417
|
"additionalProperties": false,
|
|
@@ -15329,8 +15594,17 @@
|
|
|
15329
15594
|
"name": "doc_trackChanges_reject",
|
|
15330
15595
|
"description": "Reject a tracked change, reverting it.",
|
|
15331
15596
|
"parameters": {
|
|
15332
|
-
"
|
|
15597
|
+
"type": "object",
|
|
15333
15598
|
"properties": {
|
|
15599
|
+
"doc": {
|
|
15600
|
+
"type": "string"
|
|
15601
|
+
},
|
|
15602
|
+
"sessionId": {
|
|
15603
|
+
"type": "string"
|
|
15604
|
+
},
|
|
15605
|
+
"force": {
|
|
15606
|
+
"type": "boolean"
|
|
15607
|
+
},
|
|
15334
15608
|
"id": {
|
|
15335
15609
|
"type": "string"
|
|
15336
15610
|
}
|
|
@@ -15338,7 +15612,7 @@
|
|
|
15338
15612
|
"required": [
|
|
15339
15613
|
"id"
|
|
15340
15614
|
],
|
|
15341
|
-
"
|
|
15615
|
+
"additionalProperties": false
|
|
15342
15616
|
},
|
|
15343
15617
|
"returns": {
|
|
15344
15618
|
"additionalProperties": false,
|
|
@@ -15521,9 +15795,19 @@
|
|
|
15521
15795
|
"name": "doc_trackChanges_acceptAll",
|
|
15522
15796
|
"description": "Accept all tracked changes in the document.",
|
|
15523
15797
|
"parameters": {
|
|
15524
|
-
"
|
|
15525
|
-
"properties": {
|
|
15526
|
-
|
|
15798
|
+
"type": "object",
|
|
15799
|
+
"properties": {
|
|
15800
|
+
"doc": {
|
|
15801
|
+
"type": "string"
|
|
15802
|
+
},
|
|
15803
|
+
"sessionId": {
|
|
15804
|
+
"type": "string"
|
|
15805
|
+
},
|
|
15806
|
+
"force": {
|
|
15807
|
+
"type": "boolean"
|
|
15808
|
+
}
|
|
15809
|
+
},
|
|
15810
|
+
"additionalProperties": false
|
|
15527
15811
|
},
|
|
15528
15812
|
"returns": {
|
|
15529
15813
|
"additionalProperties": false,
|
|
@@ -15706,9 +15990,19 @@
|
|
|
15706
15990
|
"name": "doc_trackChanges_rejectAll",
|
|
15707
15991
|
"description": "Reject all tracked changes in the document.",
|
|
15708
15992
|
"parameters": {
|
|
15709
|
-
"
|
|
15710
|
-
"properties": {
|
|
15711
|
-
|
|
15993
|
+
"type": "object",
|
|
15994
|
+
"properties": {
|
|
15995
|
+
"doc": {
|
|
15996
|
+
"type": "string"
|
|
15997
|
+
},
|
|
15998
|
+
"sessionId": {
|
|
15999
|
+
"type": "string"
|
|
16000
|
+
},
|
|
16001
|
+
"force": {
|
|
16002
|
+
"type": "boolean"
|
|
16003
|
+
}
|
|
16004
|
+
},
|
|
16005
|
+
"additionalProperties": false
|
|
15712
16006
|
},
|
|
15713
16007
|
"returns": {
|
|
15714
16008
|
"additionalProperties": false,
|