@superdoc-dev/sdk 1.0.0-alpha.5 → 1.0.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/client.d.ts +46 -28
- package/dist/generated/client.d.ts.map +1 -1
- package/dist/generated/client.js +5 -5
- package/dist/generated/contract.d.ts +681 -100
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +1110 -158
- 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 +10 -15
- package/tools/catalog.json +1683 -1429
- package/tools/tools-policy.json +1 -1
- package/tools/tools.anthropic.json +1659 -1405
- package/tools/tools.generic.json +1683 -1429
- package/tools/tools.openai.json +1661 -1407
- package/tools/tools.vercel.json +1661 -1407
- package/LICENSE +0 -661
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,50 +1362,65 @@
|
|
|
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"
|
|
1409
|
+
},
|
|
1410
|
+
"blockId": {
|
|
1411
|
+
"type": "string"
|
|
1412
|
+
},
|
|
1413
|
+
"start": {
|
|
1414
|
+
"type": "number"
|
|
1415
|
+
},
|
|
1416
|
+
"end": {
|
|
1417
|
+
"type": "number"
|
|
1517
1418
|
}
|
|
1518
1419
|
},
|
|
1519
1420
|
"required": [
|
|
1520
|
-
"target",
|
|
1521
1421
|
"text"
|
|
1522
1422
|
],
|
|
1523
|
-
"
|
|
1423
|
+
"additionalProperties": false
|
|
1524
1424
|
},
|
|
1525
1425
|
"returns": {
|
|
1526
1426
|
"additionalProperties": false,
|
|
@@ -1797,46 +1697,59 @@
|
|
|
1797
1697
|
"name": "delete_content",
|
|
1798
1698
|
"description": "Delete content at a target position.",
|
|
1799
1699
|
"parameters": {
|
|
1800
|
-
"
|
|
1700
|
+
"type": "object",
|
|
1801
1701
|
"properties": {
|
|
1702
|
+
"doc": {
|
|
1703
|
+
"type": "string"
|
|
1704
|
+
},
|
|
1705
|
+
"sessionId": {
|
|
1706
|
+
"type": "string"
|
|
1707
|
+
},
|
|
1708
|
+
"force": {
|
|
1709
|
+
"type": "boolean"
|
|
1710
|
+
},
|
|
1802
1711
|
"target": {
|
|
1803
|
-
"
|
|
1712
|
+
"type": "object",
|
|
1804
1713
|
"properties": {
|
|
1805
|
-
"blockId": {
|
|
1806
|
-
"type": "string"
|
|
1807
|
-
},
|
|
1808
1714
|
"kind": {
|
|
1809
1715
|
"const": "text"
|
|
1810
1716
|
},
|
|
1717
|
+
"blockId": {
|
|
1718
|
+
"type": "string"
|
|
1719
|
+
},
|
|
1811
1720
|
"range": {
|
|
1812
|
-
"
|
|
1721
|
+
"type": "object",
|
|
1813
1722
|
"properties": {
|
|
1814
|
-
"end": {
|
|
1815
|
-
"type": "integer"
|
|
1816
|
-
},
|
|
1817
1723
|
"start": {
|
|
1818
|
-
"type": "
|
|
1724
|
+
"type": "number"
|
|
1725
|
+
},
|
|
1726
|
+
"end": {
|
|
1727
|
+
"type": "number"
|
|
1819
1728
|
}
|
|
1820
1729
|
},
|
|
1821
1730
|
"required": [
|
|
1822
1731
|
"start",
|
|
1823
1732
|
"end"
|
|
1824
|
-
]
|
|
1825
|
-
"type": "object"
|
|
1733
|
+
]
|
|
1826
1734
|
}
|
|
1827
1735
|
},
|
|
1828
1736
|
"required": [
|
|
1829
1737
|
"kind",
|
|
1830
1738
|
"blockId",
|
|
1831
1739
|
"range"
|
|
1832
|
-
]
|
|
1833
|
-
|
|
1740
|
+
]
|
|
1741
|
+
},
|
|
1742
|
+
"blockId": {
|
|
1743
|
+
"type": "string"
|
|
1744
|
+
},
|
|
1745
|
+
"start": {
|
|
1746
|
+
"type": "number"
|
|
1747
|
+
},
|
|
1748
|
+
"end": {
|
|
1749
|
+
"type": "number"
|
|
1834
1750
|
}
|
|
1835
1751
|
},
|
|
1836
|
-
"
|
|
1837
|
-
"target"
|
|
1838
|
-
],
|
|
1839
|
-
"type": "object"
|
|
1752
|
+
"additionalProperties": false
|
|
1840
1753
|
},
|
|
1841
1754
|
"returns": {
|
|
1842
1755
|
"additionalProperties": false,
|
|
@@ -2113,46 +2026,59 @@
|
|
|
2113
2026
|
"name": "format_bold",
|
|
2114
2027
|
"description": "Toggle bold formatting on the target range.",
|
|
2115
2028
|
"parameters": {
|
|
2116
|
-
"
|
|
2029
|
+
"type": "object",
|
|
2117
2030
|
"properties": {
|
|
2031
|
+
"doc": {
|
|
2032
|
+
"type": "string"
|
|
2033
|
+
},
|
|
2034
|
+
"sessionId": {
|
|
2035
|
+
"type": "string"
|
|
2036
|
+
},
|
|
2037
|
+
"force": {
|
|
2038
|
+
"type": "boolean"
|
|
2039
|
+
},
|
|
2118
2040
|
"target": {
|
|
2119
|
-
"
|
|
2041
|
+
"type": "object",
|
|
2120
2042
|
"properties": {
|
|
2121
|
-
"blockId": {
|
|
2122
|
-
"type": "string"
|
|
2123
|
-
},
|
|
2124
2043
|
"kind": {
|
|
2125
2044
|
"const": "text"
|
|
2126
2045
|
},
|
|
2046
|
+
"blockId": {
|
|
2047
|
+
"type": "string"
|
|
2048
|
+
},
|
|
2127
2049
|
"range": {
|
|
2128
|
-
"
|
|
2050
|
+
"type": "object",
|
|
2129
2051
|
"properties": {
|
|
2130
|
-
"end": {
|
|
2131
|
-
"type": "integer"
|
|
2132
|
-
},
|
|
2133
2052
|
"start": {
|
|
2134
|
-
"type": "
|
|
2053
|
+
"type": "number"
|
|
2054
|
+
},
|
|
2055
|
+
"end": {
|
|
2056
|
+
"type": "number"
|
|
2135
2057
|
}
|
|
2136
2058
|
},
|
|
2137
2059
|
"required": [
|
|
2138
2060
|
"start",
|
|
2139
2061
|
"end"
|
|
2140
|
-
]
|
|
2141
|
-
"type": "object"
|
|
2062
|
+
]
|
|
2142
2063
|
}
|
|
2143
2064
|
},
|
|
2144
2065
|
"required": [
|
|
2145
2066
|
"kind",
|
|
2146
2067
|
"blockId",
|
|
2147
2068
|
"range"
|
|
2148
|
-
]
|
|
2149
|
-
|
|
2069
|
+
]
|
|
2070
|
+
},
|
|
2071
|
+
"blockId": {
|
|
2072
|
+
"type": "string"
|
|
2073
|
+
},
|
|
2074
|
+
"start": {
|
|
2075
|
+
"type": "number"
|
|
2076
|
+
},
|
|
2077
|
+
"end": {
|
|
2078
|
+
"type": "number"
|
|
2150
2079
|
}
|
|
2151
2080
|
},
|
|
2152
|
-
"
|
|
2153
|
-
"target"
|
|
2154
|
-
],
|
|
2155
|
-
"type": "object"
|
|
2081
|
+
"additionalProperties": false
|
|
2156
2082
|
},
|
|
2157
2083
|
"returns": {
|
|
2158
2084
|
"additionalProperties": false,
|
|
@@ -2430,46 +2356,59 @@
|
|
|
2430
2356
|
"name": "format_italic",
|
|
2431
2357
|
"description": "Toggle italic formatting on the target range.",
|
|
2432
2358
|
"parameters": {
|
|
2433
|
-
"
|
|
2359
|
+
"type": "object",
|
|
2434
2360
|
"properties": {
|
|
2361
|
+
"doc": {
|
|
2362
|
+
"type": "string"
|
|
2363
|
+
},
|
|
2364
|
+
"sessionId": {
|
|
2365
|
+
"type": "string"
|
|
2366
|
+
},
|
|
2367
|
+
"force": {
|
|
2368
|
+
"type": "boolean"
|
|
2369
|
+
},
|
|
2435
2370
|
"target": {
|
|
2436
|
-
"
|
|
2371
|
+
"type": "object",
|
|
2437
2372
|
"properties": {
|
|
2438
|
-
"blockId": {
|
|
2439
|
-
"type": "string"
|
|
2440
|
-
},
|
|
2441
2373
|
"kind": {
|
|
2442
2374
|
"const": "text"
|
|
2443
2375
|
},
|
|
2376
|
+
"blockId": {
|
|
2377
|
+
"type": "string"
|
|
2378
|
+
},
|
|
2444
2379
|
"range": {
|
|
2445
|
-
"
|
|
2380
|
+
"type": "object",
|
|
2446
2381
|
"properties": {
|
|
2447
|
-
"end": {
|
|
2448
|
-
"type": "integer"
|
|
2449
|
-
},
|
|
2450
2382
|
"start": {
|
|
2451
|
-
"type": "
|
|
2383
|
+
"type": "number"
|
|
2384
|
+
},
|
|
2385
|
+
"end": {
|
|
2386
|
+
"type": "number"
|
|
2452
2387
|
}
|
|
2453
2388
|
},
|
|
2454
2389
|
"required": [
|
|
2455
2390
|
"start",
|
|
2456
2391
|
"end"
|
|
2457
|
-
]
|
|
2458
|
-
"type": "object"
|
|
2392
|
+
]
|
|
2459
2393
|
}
|
|
2460
2394
|
},
|
|
2461
2395
|
"required": [
|
|
2462
2396
|
"kind",
|
|
2463
2397
|
"blockId",
|
|
2464
2398
|
"range"
|
|
2465
|
-
]
|
|
2466
|
-
|
|
2399
|
+
]
|
|
2400
|
+
},
|
|
2401
|
+
"blockId": {
|
|
2402
|
+
"type": "string"
|
|
2403
|
+
},
|
|
2404
|
+
"start": {
|
|
2405
|
+
"type": "number"
|
|
2406
|
+
},
|
|
2407
|
+
"end": {
|
|
2408
|
+
"type": "number"
|
|
2467
2409
|
}
|
|
2468
2410
|
},
|
|
2469
|
-
"
|
|
2470
|
-
"target"
|
|
2471
|
-
],
|
|
2472
|
-
"type": "object"
|
|
2411
|
+
"additionalProperties": false
|
|
2473
2412
|
},
|
|
2474
2413
|
"returns": {
|
|
2475
2414
|
"additionalProperties": false,
|
|
@@ -2747,46 +2686,59 @@
|
|
|
2747
2686
|
"name": "format_underline",
|
|
2748
2687
|
"description": "Toggle underline formatting on the target range.",
|
|
2749
2688
|
"parameters": {
|
|
2750
|
-
"
|
|
2689
|
+
"type": "object",
|
|
2751
2690
|
"properties": {
|
|
2691
|
+
"doc": {
|
|
2692
|
+
"type": "string"
|
|
2693
|
+
},
|
|
2694
|
+
"sessionId": {
|
|
2695
|
+
"type": "string"
|
|
2696
|
+
},
|
|
2697
|
+
"force": {
|
|
2698
|
+
"type": "boolean"
|
|
2699
|
+
},
|
|
2752
2700
|
"target": {
|
|
2753
|
-
"
|
|
2701
|
+
"type": "object",
|
|
2754
2702
|
"properties": {
|
|
2755
|
-
"blockId": {
|
|
2756
|
-
"type": "string"
|
|
2757
|
-
},
|
|
2758
2703
|
"kind": {
|
|
2759
2704
|
"const": "text"
|
|
2760
2705
|
},
|
|
2706
|
+
"blockId": {
|
|
2707
|
+
"type": "string"
|
|
2708
|
+
},
|
|
2761
2709
|
"range": {
|
|
2762
|
-
"
|
|
2710
|
+
"type": "object",
|
|
2763
2711
|
"properties": {
|
|
2764
|
-
"end": {
|
|
2765
|
-
"type": "integer"
|
|
2766
|
-
},
|
|
2767
2712
|
"start": {
|
|
2768
|
-
"type": "
|
|
2713
|
+
"type": "number"
|
|
2714
|
+
},
|
|
2715
|
+
"end": {
|
|
2716
|
+
"type": "number"
|
|
2769
2717
|
}
|
|
2770
2718
|
},
|
|
2771
2719
|
"required": [
|
|
2772
2720
|
"start",
|
|
2773
2721
|
"end"
|
|
2774
|
-
]
|
|
2775
|
-
"type": "object"
|
|
2722
|
+
]
|
|
2776
2723
|
}
|
|
2777
2724
|
},
|
|
2778
2725
|
"required": [
|
|
2779
2726
|
"kind",
|
|
2780
2727
|
"blockId",
|
|
2781
2728
|
"range"
|
|
2782
|
-
]
|
|
2783
|
-
|
|
2729
|
+
]
|
|
2730
|
+
},
|
|
2731
|
+
"blockId": {
|
|
2732
|
+
"type": "string"
|
|
2733
|
+
},
|
|
2734
|
+
"start": {
|
|
2735
|
+
"type": "number"
|
|
2736
|
+
},
|
|
2737
|
+
"end": {
|
|
2738
|
+
"type": "number"
|
|
2784
2739
|
}
|
|
2785
2740
|
},
|
|
2786
|
-
"
|
|
2787
|
-
"target"
|
|
2788
|
-
],
|
|
2789
|
-
"type": "object"
|
|
2741
|
+
"additionalProperties": false
|
|
2790
2742
|
},
|
|
2791
2743
|
"returns": {
|
|
2792
2744
|
"additionalProperties": false,
|
|
@@ -3064,46 +3016,59 @@
|
|
|
3064
3016
|
"name": "format_strikethrough",
|
|
3065
3017
|
"description": "Toggle strikethrough formatting on the target range.",
|
|
3066
3018
|
"parameters": {
|
|
3067
|
-
"
|
|
3019
|
+
"type": "object",
|
|
3068
3020
|
"properties": {
|
|
3021
|
+
"doc": {
|
|
3022
|
+
"type": "string"
|
|
3023
|
+
},
|
|
3024
|
+
"sessionId": {
|
|
3025
|
+
"type": "string"
|
|
3026
|
+
},
|
|
3027
|
+
"force": {
|
|
3028
|
+
"type": "boolean"
|
|
3029
|
+
},
|
|
3069
3030
|
"target": {
|
|
3070
|
-
"
|
|
3031
|
+
"type": "object",
|
|
3071
3032
|
"properties": {
|
|
3072
|
-
"blockId": {
|
|
3073
|
-
"type": "string"
|
|
3074
|
-
},
|
|
3075
3033
|
"kind": {
|
|
3076
3034
|
"const": "text"
|
|
3077
3035
|
},
|
|
3036
|
+
"blockId": {
|
|
3037
|
+
"type": "string"
|
|
3038
|
+
},
|
|
3078
3039
|
"range": {
|
|
3079
|
-
"
|
|
3040
|
+
"type": "object",
|
|
3080
3041
|
"properties": {
|
|
3081
|
-
"end": {
|
|
3082
|
-
"type": "integer"
|
|
3083
|
-
},
|
|
3084
3042
|
"start": {
|
|
3085
|
-
"type": "
|
|
3043
|
+
"type": "number"
|
|
3044
|
+
},
|
|
3045
|
+
"end": {
|
|
3046
|
+
"type": "number"
|
|
3086
3047
|
}
|
|
3087
3048
|
},
|
|
3088
3049
|
"required": [
|
|
3089
3050
|
"start",
|
|
3090
3051
|
"end"
|
|
3091
|
-
]
|
|
3092
|
-
"type": "object"
|
|
3052
|
+
]
|
|
3093
3053
|
}
|
|
3094
3054
|
},
|
|
3095
3055
|
"required": [
|
|
3096
3056
|
"kind",
|
|
3097
3057
|
"blockId",
|
|
3098
3058
|
"range"
|
|
3099
|
-
]
|
|
3100
|
-
|
|
3059
|
+
]
|
|
3060
|
+
},
|
|
3061
|
+
"blockId": {
|
|
3062
|
+
"type": "string"
|
|
3063
|
+
},
|
|
3064
|
+
"start": {
|
|
3065
|
+
"type": "number"
|
|
3066
|
+
},
|
|
3067
|
+
"end": {
|
|
3068
|
+
"type": "number"
|
|
3101
3069
|
}
|
|
3102
3070
|
},
|
|
3103
|
-
"
|
|
3104
|
-
"target"
|
|
3105
|
-
],
|
|
3106
|
-
"type": "object"
|
|
3071
|
+
"additionalProperties": false
|
|
3107
3072
|
},
|
|
3108
3073
|
"returns": {
|
|
3109
3074
|
"additionalProperties": false,
|
|
@@ -3381,12 +3346,21 @@
|
|
|
3381
3346
|
"name": "create_paragraph",
|
|
3382
3347
|
"description": "Create a new paragraph at the target position.",
|
|
3383
3348
|
"parameters": {
|
|
3384
|
-
"
|
|
3349
|
+
"type": "object",
|
|
3385
3350
|
"properties": {
|
|
3351
|
+
"doc": {
|
|
3352
|
+
"type": "string"
|
|
3353
|
+
},
|
|
3354
|
+
"sessionId": {
|
|
3355
|
+
"type": "string"
|
|
3356
|
+
},
|
|
3357
|
+
"force": {
|
|
3358
|
+
"type": "boolean"
|
|
3359
|
+
},
|
|
3386
3360
|
"at": {
|
|
3387
3361
|
"oneOf": [
|
|
3388
3362
|
{
|
|
3389
|
-
"
|
|
3363
|
+
"type": "object",
|
|
3390
3364
|
"properties": {
|
|
3391
3365
|
"kind": {
|
|
3392
3366
|
"const": "documentStart"
|
|
@@ -3394,11 +3368,10 @@
|
|
|
3394
3368
|
},
|
|
3395
3369
|
"required": [
|
|
3396
3370
|
"kind"
|
|
3397
|
-
]
|
|
3398
|
-
"type": "object"
|
|
3371
|
+
]
|
|
3399
3372
|
},
|
|
3400
3373
|
{
|
|
3401
|
-
"
|
|
3374
|
+
"type": "object",
|
|
3402
3375
|
"properties": {
|
|
3403
3376
|
"kind": {
|
|
3404
3377
|
"const": "documentEnd"
|
|
@@ -3406,100 +3379,36 @@
|
|
|
3406
3379
|
},
|
|
3407
3380
|
"required": [
|
|
3408
3381
|
"kind"
|
|
3409
|
-
]
|
|
3410
|
-
"type": "object"
|
|
3382
|
+
]
|
|
3411
3383
|
},
|
|
3412
3384
|
{
|
|
3413
|
-
"
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
"const": "before"
|
|
3385
|
+
"oneOf": [
|
|
3386
|
+
{
|
|
3387
|
+
"type": "json"
|
|
3417
3388
|
},
|
|
3418
|
-
|
|
3419
|
-
"
|
|
3420
|
-
"properties": {
|
|
3421
|
-
"kind": {
|
|
3422
|
-
"const": "block"
|
|
3423
|
-
},
|
|
3424
|
-
"nodeId": {
|
|
3425
|
-
"type": "string"
|
|
3426
|
-
},
|
|
3427
|
-
"nodeType": {
|
|
3428
|
-
"enum": [
|
|
3429
|
-
"paragraph",
|
|
3430
|
-
"heading",
|
|
3431
|
-
"listItem",
|
|
3432
|
-
"table",
|
|
3433
|
-
"tableRow",
|
|
3434
|
-
"tableCell",
|
|
3435
|
-
"image",
|
|
3436
|
-
"sdt"
|
|
3437
|
-
]
|
|
3438
|
-
}
|
|
3439
|
-
},
|
|
3440
|
-
"required": [
|
|
3441
|
-
"kind",
|
|
3442
|
-
"nodeType",
|
|
3443
|
-
"nodeId"
|
|
3444
|
-
],
|
|
3445
|
-
"type": "object"
|
|
3389
|
+
{
|
|
3390
|
+
"type": "json"
|
|
3446
3391
|
}
|
|
3447
|
-
|
|
3448
|
-
"required": [
|
|
3449
|
-
"kind",
|
|
3450
|
-
"target"
|
|
3451
|
-
],
|
|
3452
|
-
"type": "object"
|
|
3392
|
+
]
|
|
3453
3393
|
},
|
|
3454
3394
|
{
|
|
3455
|
-
"
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
"const": "after"
|
|
3395
|
+
"oneOf": [
|
|
3396
|
+
{
|
|
3397
|
+
"type": "json"
|
|
3459
3398
|
},
|
|
3460
|
-
|
|
3461
|
-
"
|
|
3462
|
-
"properties": {
|
|
3463
|
-
"kind": {
|
|
3464
|
-
"const": "block"
|
|
3465
|
-
},
|
|
3466
|
-
"nodeId": {
|
|
3467
|
-
"type": "string"
|
|
3468
|
-
},
|
|
3469
|
-
"nodeType": {
|
|
3470
|
-
"enum": [
|
|
3471
|
-
"paragraph",
|
|
3472
|
-
"heading",
|
|
3473
|
-
"listItem",
|
|
3474
|
-
"table",
|
|
3475
|
-
"tableRow",
|
|
3476
|
-
"tableCell",
|
|
3477
|
-
"image",
|
|
3478
|
-
"sdt"
|
|
3479
|
-
]
|
|
3480
|
-
}
|
|
3481
|
-
},
|
|
3482
|
-
"required": [
|
|
3483
|
-
"kind",
|
|
3484
|
-
"nodeType",
|
|
3485
|
-
"nodeId"
|
|
3486
|
-
],
|
|
3487
|
-
"type": "object"
|
|
3399
|
+
{
|
|
3400
|
+
"type": "json"
|
|
3488
3401
|
}
|
|
3489
|
-
|
|
3490
|
-
"required": [
|
|
3491
|
-
"kind",
|
|
3492
|
-
"target"
|
|
3493
|
-
],
|
|
3494
|
-
"type": "object"
|
|
3402
|
+
]
|
|
3495
3403
|
}
|
|
3496
3404
|
]
|
|
3497
3405
|
},
|
|
3498
3406
|
"text": {
|
|
3499
3407
|
"type": "string"
|
|
3500
|
-
}
|
|
3408
|
+
},
|
|
3409
|
+
"input": {}
|
|
3501
3410
|
},
|
|
3502
|
-
"
|
|
3411
|
+
"additionalProperties": false
|
|
3503
3412
|
},
|
|
3504
3413
|
"returns": {
|
|
3505
3414
|
"additionalProperties": false,
|
|
@@ -3618,57 +3527,76 @@
|
|
|
3618
3527
|
"name": "list_lists",
|
|
3619
3528
|
"description": "List all list nodes in the document, optionally filtered by scope.",
|
|
3620
3529
|
"parameters": {
|
|
3621
|
-
"
|
|
3530
|
+
"type": "object",
|
|
3622
3531
|
"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"
|
|
3532
|
+
"doc": {
|
|
3533
|
+
"type": "string"
|
|
3637
3534
|
},
|
|
3638
|
-
"
|
|
3639
|
-
"type": "
|
|
3535
|
+
"sessionId": {
|
|
3536
|
+
"type": "string"
|
|
3640
3537
|
},
|
|
3641
3538
|
"within": {
|
|
3642
|
-
"
|
|
3539
|
+
"type": "object",
|
|
3643
3540
|
"properties": {
|
|
3644
3541
|
"kind": {
|
|
3645
3542
|
"const": "block"
|
|
3646
3543
|
},
|
|
3647
|
-
"nodeId": {
|
|
3648
|
-
"type": "string"
|
|
3649
|
-
},
|
|
3650
3544
|
"nodeType": {
|
|
3651
|
-
"
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3545
|
+
"oneOf": [
|
|
3546
|
+
{
|
|
3547
|
+
"const": "paragraph"
|
|
3548
|
+
},
|
|
3549
|
+
{
|
|
3550
|
+
"const": "heading"
|
|
3551
|
+
},
|
|
3552
|
+
{
|
|
3553
|
+
"const": "listItem"
|
|
3554
|
+
},
|
|
3555
|
+
{
|
|
3556
|
+
"const": "table"
|
|
3557
|
+
},
|
|
3558
|
+
{
|
|
3559
|
+
"const": "tableRow"
|
|
3560
|
+
},
|
|
3561
|
+
{
|
|
3562
|
+
"const": "tableCell"
|
|
3563
|
+
},
|
|
3564
|
+
{
|
|
3565
|
+
"const": "image"
|
|
3566
|
+
},
|
|
3567
|
+
{
|
|
3568
|
+
"const": "sdt"
|
|
3569
|
+
}
|
|
3660
3570
|
]
|
|
3571
|
+
},
|
|
3572
|
+
"nodeId": {
|
|
3573
|
+
"type": "string"
|
|
3661
3574
|
}
|
|
3662
3575
|
},
|
|
3663
3576
|
"required": [
|
|
3664
3577
|
"kind",
|
|
3665
3578
|
"nodeType",
|
|
3666
3579
|
"nodeId"
|
|
3667
|
-
]
|
|
3668
|
-
|
|
3669
|
-
|
|
3580
|
+
]
|
|
3581
|
+
},
|
|
3582
|
+
"limit": {
|
|
3583
|
+
"type": "number"
|
|
3584
|
+
},
|
|
3585
|
+
"offset": {
|
|
3586
|
+
"type": "number"
|
|
3587
|
+
},
|
|
3588
|
+
"kind": {
|
|
3589
|
+
"type": "string"
|
|
3590
|
+
},
|
|
3591
|
+
"level": {
|
|
3592
|
+
"type": "number"
|
|
3593
|
+
},
|
|
3594
|
+
"ordinal": {
|
|
3595
|
+
"type": "number"
|
|
3596
|
+
},
|
|
3597
|
+
"query": {}
|
|
3670
3598
|
},
|
|
3671
|
-
"
|
|
3599
|
+
"additionalProperties": false
|
|
3672
3600
|
},
|
|
3673
3601
|
"returns": {
|
|
3674
3602
|
"additionalProperties": false,
|
|
@@ -3815,33 +3743,38 @@
|
|
|
3815
3743
|
"name": "get_list",
|
|
3816
3744
|
"description": "Retrieve a specific list node by target.",
|
|
3817
3745
|
"parameters": {
|
|
3818
|
-
"
|
|
3746
|
+
"type": "object",
|
|
3819
3747
|
"properties": {
|
|
3748
|
+
"doc": {
|
|
3749
|
+
"type": "string"
|
|
3750
|
+
},
|
|
3751
|
+
"sessionId": {
|
|
3752
|
+
"type": "string"
|
|
3753
|
+
},
|
|
3820
3754
|
"address": {
|
|
3821
|
-
"
|
|
3755
|
+
"type": "object",
|
|
3822
3756
|
"properties": {
|
|
3823
3757
|
"kind": {
|
|
3824
3758
|
"const": "block"
|
|
3825
3759
|
},
|
|
3826
|
-
"nodeId": {
|
|
3827
|
-
"type": "string"
|
|
3828
|
-
},
|
|
3829
3760
|
"nodeType": {
|
|
3830
3761
|
"const": "listItem"
|
|
3762
|
+
},
|
|
3763
|
+
"nodeId": {
|
|
3764
|
+
"type": "string"
|
|
3831
3765
|
}
|
|
3832
3766
|
},
|
|
3833
3767
|
"required": [
|
|
3834
3768
|
"kind",
|
|
3835
3769
|
"nodeType",
|
|
3836
3770
|
"nodeId"
|
|
3837
|
-
]
|
|
3838
|
-
"type": "object"
|
|
3771
|
+
]
|
|
3839
3772
|
}
|
|
3840
3773
|
},
|
|
3841
3774
|
"required": [
|
|
3842
3775
|
"address"
|
|
3843
3776
|
],
|
|
3844
|
-
"
|
|
3777
|
+
"additionalProperties": false
|
|
3845
3778
|
},
|
|
3846
3779
|
"returns": {
|
|
3847
3780
|
"additionalProperties": false,
|
|
@@ -3920,43 +3853,48 @@
|
|
|
3920
3853
|
"name": "insert_list",
|
|
3921
3854
|
"description": "Insert a new list at the target position.",
|
|
3922
3855
|
"parameters": {
|
|
3923
|
-
"
|
|
3856
|
+
"type": "object",
|
|
3924
3857
|
"properties": {
|
|
3925
|
-
"
|
|
3926
|
-
"
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3858
|
+
"doc": {
|
|
3859
|
+
"type": "string"
|
|
3860
|
+
},
|
|
3861
|
+
"sessionId": {
|
|
3862
|
+
"type": "string"
|
|
3863
|
+
},
|
|
3864
|
+
"force": {
|
|
3865
|
+
"type": "boolean"
|
|
3930
3866
|
},
|
|
3931
3867
|
"target": {
|
|
3932
|
-
"
|
|
3868
|
+
"type": "object",
|
|
3933
3869
|
"properties": {
|
|
3934
3870
|
"kind": {
|
|
3935
3871
|
"const": "block"
|
|
3936
3872
|
},
|
|
3937
|
-
"nodeId": {
|
|
3938
|
-
"type": "string"
|
|
3939
|
-
},
|
|
3940
3873
|
"nodeType": {
|
|
3941
3874
|
"const": "listItem"
|
|
3875
|
+
},
|
|
3876
|
+
"nodeId": {
|
|
3877
|
+
"type": "string"
|
|
3942
3878
|
}
|
|
3943
3879
|
},
|
|
3944
3880
|
"required": [
|
|
3945
3881
|
"kind",
|
|
3946
3882
|
"nodeType",
|
|
3947
3883
|
"nodeId"
|
|
3948
|
-
]
|
|
3949
|
-
|
|
3884
|
+
]
|
|
3885
|
+
},
|
|
3886
|
+
"nodeId": {
|
|
3887
|
+
"type": "string"
|
|
3888
|
+
},
|
|
3889
|
+
"position": {
|
|
3890
|
+
"type": "string"
|
|
3950
3891
|
},
|
|
3951
3892
|
"text": {
|
|
3952
3893
|
"type": "string"
|
|
3953
|
-
}
|
|
3894
|
+
},
|
|
3895
|
+
"input": {}
|
|
3954
3896
|
},
|
|
3955
|
-
"
|
|
3956
|
-
"target",
|
|
3957
|
-
"position"
|
|
3958
|
-
],
|
|
3959
|
-
"type": "object"
|
|
3897
|
+
"additionalProperties": false
|
|
3960
3898
|
},
|
|
3961
3899
|
"returns": {
|
|
3962
3900
|
"additionalProperties": false,
|
|
@@ -4076,40 +4014,45 @@
|
|
|
4076
4014
|
"name": "set_list_type",
|
|
4077
4015
|
"description": "Change the list type (ordered, unordered) of a target list.",
|
|
4078
4016
|
"parameters": {
|
|
4079
|
-
"
|
|
4017
|
+
"type": "object",
|
|
4080
4018
|
"properties": {
|
|
4081
|
-
"
|
|
4082
|
-
"
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
|
|
4019
|
+
"doc": {
|
|
4020
|
+
"type": "string"
|
|
4021
|
+
},
|
|
4022
|
+
"sessionId": {
|
|
4023
|
+
"type": "string"
|
|
4024
|
+
},
|
|
4025
|
+
"force": {
|
|
4026
|
+
"type": "boolean"
|
|
4086
4027
|
},
|
|
4087
4028
|
"target": {
|
|
4088
|
-
"
|
|
4029
|
+
"type": "object",
|
|
4089
4030
|
"properties": {
|
|
4090
4031
|
"kind": {
|
|
4091
4032
|
"const": "block"
|
|
4092
4033
|
},
|
|
4093
|
-
"nodeId": {
|
|
4094
|
-
"type": "string"
|
|
4095
|
-
},
|
|
4096
4034
|
"nodeType": {
|
|
4097
4035
|
"const": "listItem"
|
|
4036
|
+
},
|
|
4037
|
+
"nodeId": {
|
|
4038
|
+
"type": "string"
|
|
4098
4039
|
}
|
|
4099
4040
|
},
|
|
4100
4041
|
"required": [
|
|
4101
4042
|
"kind",
|
|
4102
4043
|
"nodeType",
|
|
4103
4044
|
"nodeId"
|
|
4104
|
-
]
|
|
4105
|
-
|
|
4106
|
-
|
|
4045
|
+
]
|
|
4046
|
+
},
|
|
4047
|
+
"nodeId": {
|
|
4048
|
+
"type": "string"
|
|
4049
|
+
},
|
|
4050
|
+
"kind": {
|
|
4051
|
+
"type": "string"
|
|
4052
|
+
},
|
|
4053
|
+
"input": {}
|
|
4107
4054
|
},
|
|
4108
|
-
"
|
|
4109
|
-
"target",
|
|
4110
|
-
"kind"
|
|
4111
|
-
],
|
|
4112
|
-
"type": "object"
|
|
4055
|
+
"additionalProperties": false
|
|
4113
4056
|
},
|
|
4114
4057
|
"returns": {
|
|
4115
4058
|
"additionalProperties": false,
|
|
@@ -4172,33 +4115,42 @@
|
|
|
4172
4115
|
"name": "indent_list",
|
|
4173
4116
|
"description": "Increase the indentation level of a list item.",
|
|
4174
4117
|
"parameters": {
|
|
4175
|
-
"
|
|
4118
|
+
"type": "object",
|
|
4176
4119
|
"properties": {
|
|
4120
|
+
"doc": {
|
|
4121
|
+
"type": "string"
|
|
4122
|
+
},
|
|
4123
|
+
"sessionId": {
|
|
4124
|
+
"type": "string"
|
|
4125
|
+
},
|
|
4126
|
+
"force": {
|
|
4127
|
+
"type": "boolean"
|
|
4128
|
+
},
|
|
4177
4129
|
"target": {
|
|
4178
|
-
"
|
|
4130
|
+
"type": "object",
|
|
4179
4131
|
"properties": {
|
|
4180
4132
|
"kind": {
|
|
4181
4133
|
"const": "block"
|
|
4182
4134
|
},
|
|
4183
|
-
"nodeId": {
|
|
4184
|
-
"type": "string"
|
|
4185
|
-
},
|
|
4186
4135
|
"nodeType": {
|
|
4187
4136
|
"const": "listItem"
|
|
4137
|
+
},
|
|
4138
|
+
"nodeId": {
|
|
4139
|
+
"type": "string"
|
|
4188
4140
|
}
|
|
4189
4141
|
},
|
|
4190
4142
|
"required": [
|
|
4191
4143
|
"kind",
|
|
4192
4144
|
"nodeType",
|
|
4193
4145
|
"nodeId"
|
|
4194
|
-
]
|
|
4195
|
-
|
|
4196
|
-
|
|
4146
|
+
]
|
|
4147
|
+
},
|
|
4148
|
+
"nodeId": {
|
|
4149
|
+
"type": "string"
|
|
4150
|
+
},
|
|
4151
|
+
"input": {}
|
|
4197
4152
|
},
|
|
4198
|
-
"
|
|
4199
|
-
"target"
|
|
4200
|
-
],
|
|
4201
|
-
"type": "object"
|
|
4153
|
+
"additionalProperties": false
|
|
4202
4154
|
},
|
|
4203
4155
|
"returns": {
|
|
4204
4156
|
"additionalProperties": false,
|
|
@@ -4261,33 +4213,42 @@
|
|
|
4261
4213
|
"name": "outdent_list",
|
|
4262
4214
|
"description": "Decrease the indentation level of a list item.",
|
|
4263
4215
|
"parameters": {
|
|
4264
|
-
"
|
|
4216
|
+
"type": "object",
|
|
4265
4217
|
"properties": {
|
|
4218
|
+
"doc": {
|
|
4219
|
+
"type": "string"
|
|
4220
|
+
},
|
|
4221
|
+
"sessionId": {
|
|
4222
|
+
"type": "string"
|
|
4223
|
+
},
|
|
4224
|
+
"force": {
|
|
4225
|
+
"type": "boolean"
|
|
4226
|
+
},
|
|
4266
4227
|
"target": {
|
|
4267
|
-
"
|
|
4228
|
+
"type": "object",
|
|
4268
4229
|
"properties": {
|
|
4269
4230
|
"kind": {
|
|
4270
4231
|
"const": "block"
|
|
4271
4232
|
},
|
|
4272
|
-
"nodeId": {
|
|
4273
|
-
"type": "string"
|
|
4274
|
-
},
|
|
4275
4233
|
"nodeType": {
|
|
4276
4234
|
"const": "listItem"
|
|
4235
|
+
},
|
|
4236
|
+
"nodeId": {
|
|
4237
|
+
"type": "string"
|
|
4277
4238
|
}
|
|
4278
4239
|
},
|
|
4279
4240
|
"required": [
|
|
4280
4241
|
"kind",
|
|
4281
4242
|
"nodeType",
|
|
4282
4243
|
"nodeId"
|
|
4283
|
-
]
|
|
4284
|
-
|
|
4285
|
-
|
|
4244
|
+
]
|
|
4245
|
+
},
|
|
4246
|
+
"nodeId": {
|
|
4247
|
+
"type": "string"
|
|
4248
|
+
},
|
|
4249
|
+
"input": {}
|
|
4286
4250
|
},
|
|
4287
|
-
"
|
|
4288
|
-
"target"
|
|
4289
|
-
],
|
|
4290
|
-
"type": "object"
|
|
4251
|
+
"additionalProperties": false
|
|
4291
4252
|
},
|
|
4292
4253
|
"returns": {
|
|
4293
4254
|
"additionalProperties": false,
|
|
@@ -4350,33 +4311,42 @@
|
|
|
4350
4311
|
"name": "restart_list_numbering",
|
|
4351
4312
|
"description": "Restart numbering of an ordered list at the target item.",
|
|
4352
4313
|
"parameters": {
|
|
4353
|
-
"
|
|
4314
|
+
"type": "object",
|
|
4354
4315
|
"properties": {
|
|
4316
|
+
"doc": {
|
|
4317
|
+
"type": "string"
|
|
4318
|
+
},
|
|
4319
|
+
"sessionId": {
|
|
4320
|
+
"type": "string"
|
|
4321
|
+
},
|
|
4322
|
+
"force": {
|
|
4323
|
+
"type": "boolean"
|
|
4324
|
+
},
|
|
4355
4325
|
"target": {
|
|
4356
|
-
"
|
|
4326
|
+
"type": "object",
|
|
4357
4327
|
"properties": {
|
|
4358
4328
|
"kind": {
|
|
4359
4329
|
"const": "block"
|
|
4360
4330
|
},
|
|
4361
|
-
"nodeId": {
|
|
4362
|
-
"type": "string"
|
|
4363
|
-
},
|
|
4364
4331
|
"nodeType": {
|
|
4365
4332
|
"const": "listItem"
|
|
4333
|
+
},
|
|
4334
|
+
"nodeId": {
|
|
4335
|
+
"type": "string"
|
|
4366
4336
|
}
|
|
4367
4337
|
},
|
|
4368
4338
|
"required": [
|
|
4369
4339
|
"kind",
|
|
4370
4340
|
"nodeType",
|
|
4371
4341
|
"nodeId"
|
|
4372
|
-
]
|
|
4373
|
-
|
|
4374
|
-
|
|
4342
|
+
]
|
|
4343
|
+
},
|
|
4344
|
+
"nodeId": {
|
|
4345
|
+
"type": "string"
|
|
4346
|
+
},
|
|
4347
|
+
"input": {}
|
|
4375
4348
|
},
|
|
4376
|
-
"
|
|
4377
|
-
"target"
|
|
4378
|
-
],
|
|
4379
|
-
"type": "object"
|
|
4349
|
+
"additionalProperties": false
|
|
4380
4350
|
},
|
|
4381
4351
|
"returns": {
|
|
4382
4352
|
"additionalProperties": false,
|
|
@@ -4439,33 +4409,42 @@
|
|
|
4439
4409
|
"name": "exit_list",
|
|
4440
4410
|
"description": "Exit a list context, converting the target item to a paragraph.",
|
|
4441
4411
|
"parameters": {
|
|
4442
|
-
"
|
|
4412
|
+
"type": "object",
|
|
4443
4413
|
"properties": {
|
|
4414
|
+
"doc": {
|
|
4415
|
+
"type": "string"
|
|
4416
|
+
},
|
|
4417
|
+
"sessionId": {
|
|
4418
|
+
"type": "string"
|
|
4419
|
+
},
|
|
4420
|
+
"force": {
|
|
4421
|
+
"type": "boolean"
|
|
4422
|
+
},
|
|
4444
4423
|
"target": {
|
|
4445
|
-
"
|
|
4424
|
+
"type": "object",
|
|
4446
4425
|
"properties": {
|
|
4447
4426
|
"kind": {
|
|
4448
4427
|
"const": "block"
|
|
4449
4428
|
},
|
|
4450
|
-
"nodeId": {
|
|
4451
|
-
"type": "string"
|
|
4452
|
-
},
|
|
4453
4429
|
"nodeType": {
|
|
4454
4430
|
"const": "listItem"
|
|
4431
|
+
},
|
|
4432
|
+
"nodeId": {
|
|
4433
|
+
"type": "string"
|
|
4455
4434
|
}
|
|
4456
4435
|
},
|
|
4457
4436
|
"required": [
|
|
4458
4437
|
"kind",
|
|
4459
4438
|
"nodeType",
|
|
4460
4439
|
"nodeId"
|
|
4461
|
-
]
|
|
4462
|
-
|
|
4463
|
-
|
|
4440
|
+
]
|
|
4441
|
+
},
|
|
4442
|
+
"nodeId": {
|
|
4443
|
+
"type": "string"
|
|
4444
|
+
},
|
|
4445
|
+
"input": {}
|
|
4464
4446
|
},
|
|
4465
|
-
"
|
|
4466
|
-
"target"
|
|
4467
|
-
],
|
|
4468
|
-
"type": "object"
|
|
4447
|
+
"additionalProperties": false
|
|
4469
4448
|
},
|
|
4470
4449
|
"returns": {
|
|
4471
4450
|
"additionalProperties": false,
|
|
@@ -4528,50 +4507,65 @@
|
|
|
4528
4507
|
"name": "add_comment",
|
|
4529
4508
|
"description": "Add a new comment thread anchored to a target range.",
|
|
4530
4509
|
"parameters": {
|
|
4531
|
-
"
|
|
4510
|
+
"type": "object",
|
|
4532
4511
|
"properties": {
|
|
4512
|
+
"doc": {
|
|
4513
|
+
"type": "string"
|
|
4514
|
+
},
|
|
4515
|
+
"sessionId": {
|
|
4516
|
+
"type": "string"
|
|
4517
|
+
},
|
|
4518
|
+
"force": {
|
|
4519
|
+
"type": "boolean"
|
|
4520
|
+
},
|
|
4533
4521
|
"target": {
|
|
4534
|
-
"
|
|
4522
|
+
"type": "object",
|
|
4535
4523
|
"properties": {
|
|
4536
|
-
"blockId": {
|
|
4537
|
-
"type": "string"
|
|
4538
|
-
},
|
|
4539
4524
|
"kind": {
|
|
4540
4525
|
"const": "text"
|
|
4541
4526
|
},
|
|
4527
|
+
"blockId": {
|
|
4528
|
+
"type": "string"
|
|
4529
|
+
},
|
|
4542
4530
|
"range": {
|
|
4543
|
-
"
|
|
4531
|
+
"type": "object",
|
|
4544
4532
|
"properties": {
|
|
4545
|
-
"end": {
|
|
4546
|
-
"type": "integer"
|
|
4547
|
-
},
|
|
4548
4533
|
"start": {
|
|
4549
|
-
"type": "
|
|
4534
|
+
"type": "number"
|
|
4535
|
+
},
|
|
4536
|
+
"end": {
|
|
4537
|
+
"type": "number"
|
|
4550
4538
|
}
|
|
4551
4539
|
},
|
|
4552
4540
|
"required": [
|
|
4553
4541
|
"start",
|
|
4554
4542
|
"end"
|
|
4555
|
-
]
|
|
4556
|
-
"type": "object"
|
|
4543
|
+
]
|
|
4557
4544
|
}
|
|
4558
4545
|
},
|
|
4559
4546
|
"required": [
|
|
4560
4547
|
"kind",
|
|
4561
4548
|
"blockId",
|
|
4562
4549
|
"range"
|
|
4563
|
-
]
|
|
4564
|
-
"type": "object"
|
|
4550
|
+
]
|
|
4565
4551
|
},
|
|
4566
4552
|
"text": {
|
|
4567
4553
|
"type": "string"
|
|
4554
|
+
},
|
|
4555
|
+
"blockId": {
|
|
4556
|
+
"type": "string"
|
|
4557
|
+
},
|
|
4558
|
+
"start": {
|
|
4559
|
+
"type": "number"
|
|
4560
|
+
},
|
|
4561
|
+
"end": {
|
|
4562
|
+
"type": "number"
|
|
4568
4563
|
}
|
|
4569
4564
|
},
|
|
4570
4565
|
"required": [
|
|
4571
|
-
"target",
|
|
4572
4566
|
"text"
|
|
4573
4567
|
],
|
|
4574
|
-
"
|
|
4568
|
+
"additionalProperties": false
|
|
4575
4569
|
},
|
|
4576
4570
|
"returns": {
|
|
4577
4571
|
"additionalProperties": false,
|
|
@@ -4754,9 +4748,18 @@
|
|
|
4754
4748
|
"name": "edit_comment",
|
|
4755
4749
|
"description": "Edit the content of an existing comment.",
|
|
4756
4750
|
"parameters": {
|
|
4757
|
-
"
|
|
4751
|
+
"type": "object",
|
|
4758
4752
|
"properties": {
|
|
4759
|
-
"
|
|
4753
|
+
"doc": {
|
|
4754
|
+
"type": "string"
|
|
4755
|
+
},
|
|
4756
|
+
"sessionId": {
|
|
4757
|
+
"type": "string"
|
|
4758
|
+
},
|
|
4759
|
+
"force": {
|
|
4760
|
+
"type": "boolean"
|
|
4761
|
+
},
|
|
4762
|
+
"id": {
|
|
4760
4763
|
"type": "string"
|
|
4761
4764
|
},
|
|
4762
4765
|
"text": {
|
|
@@ -4764,10 +4767,10 @@
|
|
|
4764
4767
|
}
|
|
4765
4768
|
},
|
|
4766
4769
|
"required": [
|
|
4767
|
-
"
|
|
4770
|
+
"id",
|
|
4768
4771
|
"text"
|
|
4769
4772
|
],
|
|
4770
|
-
"
|
|
4773
|
+
"additionalProperties": false
|
|
4771
4774
|
},
|
|
4772
4775
|
"returns": {
|
|
4773
4776
|
"additionalProperties": false,
|
|
@@ -4950,9 +4953,18 @@
|
|
|
4950
4953
|
"name": "reply_to_comment",
|
|
4951
4954
|
"description": "Add a reply to an existing comment thread.",
|
|
4952
4955
|
"parameters": {
|
|
4953
|
-
"
|
|
4956
|
+
"type": "object",
|
|
4954
4957
|
"properties": {
|
|
4955
|
-
"
|
|
4958
|
+
"doc": {
|
|
4959
|
+
"type": "string"
|
|
4960
|
+
},
|
|
4961
|
+
"sessionId": {
|
|
4962
|
+
"type": "string"
|
|
4963
|
+
},
|
|
4964
|
+
"force": {
|
|
4965
|
+
"type": "boolean"
|
|
4966
|
+
},
|
|
4967
|
+
"parentId": {
|
|
4956
4968
|
"type": "string"
|
|
4957
4969
|
},
|
|
4958
4970
|
"text": {
|
|
@@ -4960,10 +4972,10 @@
|
|
|
4960
4972
|
}
|
|
4961
4973
|
},
|
|
4962
4974
|
"required": [
|
|
4963
|
-
"
|
|
4975
|
+
"parentId",
|
|
4964
4976
|
"text"
|
|
4965
4977
|
],
|
|
4966
|
-
"
|
|
4978
|
+
"additionalProperties": false
|
|
4967
4979
|
},
|
|
4968
4980
|
"returns": {
|
|
4969
4981
|
"additionalProperties": false,
|
|
@@ -5146,50 +5158,65 @@
|
|
|
5146
5158
|
"name": "move_comment",
|
|
5147
5159
|
"description": "Move a comment thread to a new anchor range.",
|
|
5148
5160
|
"parameters": {
|
|
5149
|
-
"
|
|
5161
|
+
"type": "object",
|
|
5150
5162
|
"properties": {
|
|
5151
|
-
"
|
|
5163
|
+
"doc": {
|
|
5164
|
+
"type": "string"
|
|
5165
|
+
},
|
|
5166
|
+
"sessionId": {
|
|
5167
|
+
"type": "string"
|
|
5168
|
+
},
|
|
5169
|
+
"force": {
|
|
5170
|
+
"type": "boolean"
|
|
5171
|
+
},
|
|
5172
|
+
"id": {
|
|
5152
5173
|
"type": "string"
|
|
5153
5174
|
},
|
|
5154
5175
|
"target": {
|
|
5155
|
-
"
|
|
5176
|
+
"type": "object",
|
|
5156
5177
|
"properties": {
|
|
5157
|
-
"blockId": {
|
|
5158
|
-
"type": "string"
|
|
5159
|
-
},
|
|
5160
5178
|
"kind": {
|
|
5161
5179
|
"const": "text"
|
|
5162
5180
|
},
|
|
5181
|
+
"blockId": {
|
|
5182
|
+
"type": "string"
|
|
5183
|
+
},
|
|
5163
5184
|
"range": {
|
|
5164
|
-
"
|
|
5185
|
+
"type": "object",
|
|
5165
5186
|
"properties": {
|
|
5166
|
-
"end": {
|
|
5167
|
-
"type": "integer"
|
|
5168
|
-
},
|
|
5169
5187
|
"start": {
|
|
5170
|
-
"type": "
|
|
5188
|
+
"type": "number"
|
|
5189
|
+
},
|
|
5190
|
+
"end": {
|
|
5191
|
+
"type": "number"
|
|
5171
5192
|
}
|
|
5172
5193
|
},
|
|
5173
5194
|
"required": [
|
|
5174
5195
|
"start",
|
|
5175
5196
|
"end"
|
|
5176
|
-
]
|
|
5177
|
-
"type": "object"
|
|
5197
|
+
]
|
|
5178
5198
|
}
|
|
5179
5199
|
},
|
|
5180
5200
|
"required": [
|
|
5181
5201
|
"kind",
|
|
5182
5202
|
"blockId",
|
|
5183
5203
|
"range"
|
|
5184
|
-
]
|
|
5185
|
-
|
|
5204
|
+
]
|
|
5205
|
+
},
|
|
5206
|
+
"blockId": {
|
|
5207
|
+
"type": "string"
|
|
5208
|
+
},
|
|
5209
|
+
"start": {
|
|
5210
|
+
"type": "number"
|
|
5211
|
+
},
|
|
5212
|
+
"end": {
|
|
5213
|
+
"type": "number"
|
|
5186
5214
|
}
|
|
5187
5215
|
},
|
|
5188
5216
|
"required": [
|
|
5189
|
-
"
|
|
5190
|
-
"target"
|
|
5217
|
+
"id"
|
|
5191
5218
|
],
|
|
5192
|
-
"
|
|
5219
|
+
"additionalProperties": false
|
|
5193
5220
|
},
|
|
5194
5221
|
"returns": {
|
|
5195
5222
|
"additionalProperties": false,
|
|
@@ -5372,16 +5399,25 @@
|
|
|
5372
5399
|
"name": "resolve_comment",
|
|
5373
5400
|
"description": "Resolve or unresolve a comment thread.",
|
|
5374
5401
|
"parameters": {
|
|
5375
|
-
"
|
|
5402
|
+
"type": "object",
|
|
5376
5403
|
"properties": {
|
|
5377
|
-
"
|
|
5404
|
+
"doc": {
|
|
5405
|
+
"type": "string"
|
|
5406
|
+
},
|
|
5407
|
+
"sessionId": {
|
|
5408
|
+
"type": "string"
|
|
5409
|
+
},
|
|
5410
|
+
"force": {
|
|
5411
|
+
"type": "boolean"
|
|
5412
|
+
},
|
|
5413
|
+
"id": {
|
|
5378
5414
|
"type": "string"
|
|
5379
5415
|
}
|
|
5380
5416
|
},
|
|
5381
5417
|
"required": [
|
|
5382
|
-
"
|
|
5418
|
+
"id"
|
|
5383
5419
|
],
|
|
5384
|
-
"
|
|
5420
|
+
"additionalProperties": false
|
|
5385
5421
|
},
|
|
5386
5422
|
"returns": {
|
|
5387
5423
|
"additionalProperties": false,
|
|
@@ -5564,16 +5600,25 @@
|
|
|
5564
5600
|
"name": "remove_comment",
|
|
5565
5601
|
"description": "Remove a comment or reply by ID.",
|
|
5566
5602
|
"parameters": {
|
|
5567
|
-
"
|
|
5603
|
+
"type": "object",
|
|
5568
5604
|
"properties": {
|
|
5569
|
-
"
|
|
5605
|
+
"doc": {
|
|
5606
|
+
"type": "string"
|
|
5607
|
+
},
|
|
5608
|
+
"sessionId": {
|
|
5609
|
+
"type": "string"
|
|
5610
|
+
},
|
|
5611
|
+
"force": {
|
|
5612
|
+
"type": "boolean"
|
|
5613
|
+
},
|
|
5614
|
+
"id": {
|
|
5570
5615
|
"type": "string"
|
|
5571
5616
|
}
|
|
5572
5617
|
},
|
|
5573
5618
|
"required": [
|
|
5574
|
-
"
|
|
5619
|
+
"id"
|
|
5575
5620
|
],
|
|
5576
|
-
"
|
|
5621
|
+
"additionalProperties": false
|
|
5577
5622
|
},
|
|
5578
5623
|
"returns": {
|
|
5579
5624
|
"additionalProperties": false,
|
|
@@ -5756,9 +5801,18 @@
|
|
|
5756
5801
|
"name": "set_comment_internal",
|
|
5757
5802
|
"description": "Toggle the internal (private) flag on a comment thread.",
|
|
5758
5803
|
"parameters": {
|
|
5759
|
-
"
|
|
5804
|
+
"type": "object",
|
|
5760
5805
|
"properties": {
|
|
5761
|
-
"
|
|
5806
|
+
"doc": {
|
|
5807
|
+
"type": "string"
|
|
5808
|
+
},
|
|
5809
|
+
"sessionId": {
|
|
5810
|
+
"type": "string"
|
|
5811
|
+
},
|
|
5812
|
+
"force": {
|
|
5813
|
+
"type": "boolean"
|
|
5814
|
+
},
|
|
5815
|
+
"id": {
|
|
5762
5816
|
"type": "string"
|
|
5763
5817
|
},
|
|
5764
5818
|
"isInternal": {
|
|
@@ -5766,10 +5820,10 @@
|
|
|
5766
5820
|
}
|
|
5767
5821
|
},
|
|
5768
5822
|
"required": [
|
|
5769
|
-
"
|
|
5823
|
+
"id",
|
|
5770
5824
|
"isInternal"
|
|
5771
5825
|
],
|
|
5772
|
-
"
|
|
5826
|
+
"additionalProperties": false
|
|
5773
5827
|
},
|
|
5774
5828
|
"returns": {
|
|
5775
5829
|
"additionalProperties": false,
|
|
@@ -5952,19 +6006,28 @@
|
|
|
5952
6006
|
"name": "set_comment_active",
|
|
5953
6007
|
"description": "Set the active (focused) comment thread for UI highlighting.",
|
|
5954
6008
|
"parameters": {
|
|
5955
|
-
"
|
|
6009
|
+
"type": "object",
|
|
5956
6010
|
"properties": {
|
|
6011
|
+
"doc": {
|
|
6012
|
+
"type": "string"
|
|
6013
|
+
},
|
|
6014
|
+
"sessionId": {
|
|
6015
|
+
"type": "string"
|
|
6016
|
+
},
|
|
6017
|
+
"force": {
|
|
6018
|
+
"type": "boolean"
|
|
6019
|
+
},
|
|
5957
6020
|
"commentId": {
|
|
5958
|
-
"type":
|
|
5959
|
-
|
|
5960
|
-
|
|
5961
|
-
|
|
6021
|
+
"type": "json"
|
|
6022
|
+
},
|
|
6023
|
+
"id": {
|
|
6024
|
+
"type": "string"
|
|
6025
|
+
},
|
|
6026
|
+
"clear": {
|
|
6027
|
+
"type": "boolean"
|
|
5962
6028
|
}
|
|
5963
6029
|
},
|
|
5964
|
-
"
|
|
5965
|
-
"commentId"
|
|
5966
|
-
],
|
|
5967
|
-
"type": "object"
|
|
6030
|
+
"additionalProperties": false
|
|
5968
6031
|
},
|
|
5969
6032
|
"returns": {
|
|
5970
6033
|
"additionalProperties": false,
|
|
@@ -6161,16 +6224,22 @@
|
|
|
6161
6224
|
"name": "go_to_comment",
|
|
6162
6225
|
"description": "Scroll the viewport to a comment thread by ID.",
|
|
6163
6226
|
"parameters": {
|
|
6164
|
-
"
|
|
6227
|
+
"type": "object",
|
|
6165
6228
|
"properties": {
|
|
6166
|
-
"
|
|
6229
|
+
"doc": {
|
|
6230
|
+
"type": "string"
|
|
6231
|
+
},
|
|
6232
|
+
"sessionId": {
|
|
6233
|
+
"type": "string"
|
|
6234
|
+
},
|
|
6235
|
+
"id": {
|
|
6167
6236
|
"type": "string"
|
|
6168
6237
|
}
|
|
6169
6238
|
},
|
|
6170
6239
|
"required": [
|
|
6171
|
-
"
|
|
6240
|
+
"id"
|
|
6172
6241
|
],
|
|
6173
|
-
"
|
|
6242
|
+
"additionalProperties": false
|
|
6174
6243
|
},
|
|
6175
6244
|
"returns": {
|
|
6176
6245
|
"additionalProperties": false,
|
|
@@ -6350,16 +6419,22 @@
|
|
|
6350
6419
|
"name": "get_comment",
|
|
6351
6420
|
"description": "Retrieve a single comment thread by ID.",
|
|
6352
6421
|
"parameters": {
|
|
6353
|
-
"
|
|
6422
|
+
"type": "object",
|
|
6354
6423
|
"properties": {
|
|
6355
|
-
"
|
|
6424
|
+
"doc": {
|
|
6425
|
+
"type": "string"
|
|
6426
|
+
},
|
|
6427
|
+
"sessionId": {
|
|
6428
|
+
"type": "string"
|
|
6429
|
+
},
|
|
6430
|
+
"id": {
|
|
6356
6431
|
"type": "string"
|
|
6357
6432
|
}
|
|
6358
6433
|
},
|
|
6359
6434
|
"required": [
|
|
6360
|
-
"
|
|
6435
|
+
"id"
|
|
6361
6436
|
],
|
|
6362
|
-
"
|
|
6437
|
+
"additionalProperties": false
|
|
6363
6438
|
},
|
|
6364
6439
|
"returns": {
|
|
6365
6440
|
"additionalProperties": false,
|
|
@@ -6480,13 +6555,19 @@
|
|
|
6480
6555
|
"name": "list_comments",
|
|
6481
6556
|
"description": "List all comment threads in the document.",
|
|
6482
6557
|
"parameters": {
|
|
6483
|
-
"
|
|
6558
|
+
"type": "object",
|
|
6484
6559
|
"properties": {
|
|
6560
|
+
"doc": {
|
|
6561
|
+
"type": "string"
|
|
6562
|
+
},
|
|
6563
|
+
"sessionId": {
|
|
6564
|
+
"type": "string"
|
|
6565
|
+
},
|
|
6485
6566
|
"includeResolved": {
|
|
6486
6567
|
"type": "boolean"
|
|
6487
6568
|
}
|
|
6488
6569
|
},
|
|
6489
|
-
"
|
|
6570
|
+
"additionalProperties": false
|
|
6490
6571
|
},
|
|
6491
6572
|
"returns": {
|
|
6492
6573
|
"additionalProperties": false,
|
|
@@ -6623,23 +6704,25 @@
|
|
|
6623
6704
|
"name": "list_tracked_changes",
|
|
6624
6705
|
"description": "List all tracked changes in the document.",
|
|
6625
6706
|
"parameters": {
|
|
6626
|
-
"
|
|
6707
|
+
"type": "object",
|
|
6627
6708
|
"properties": {
|
|
6709
|
+
"doc": {
|
|
6710
|
+
"type": "string"
|
|
6711
|
+
},
|
|
6712
|
+
"sessionId": {
|
|
6713
|
+
"type": "string"
|
|
6714
|
+
},
|
|
6628
6715
|
"limit": {
|
|
6629
|
-
"type": "
|
|
6716
|
+
"type": "number"
|
|
6630
6717
|
},
|
|
6631
6718
|
"offset": {
|
|
6632
|
-
"type": "
|
|
6719
|
+
"type": "number"
|
|
6633
6720
|
},
|
|
6634
6721
|
"type": {
|
|
6635
|
-
"
|
|
6636
|
-
"insert",
|
|
6637
|
-
"delete",
|
|
6638
|
-
"format"
|
|
6639
|
-
]
|
|
6722
|
+
"type": "string"
|
|
6640
6723
|
}
|
|
6641
6724
|
},
|
|
6642
|
-
"
|
|
6725
|
+
"additionalProperties": false
|
|
6643
6726
|
},
|
|
6644
6727
|
"returns": {
|
|
6645
6728
|
"additionalProperties": false,
|
|
@@ -6761,8 +6844,14 @@
|
|
|
6761
6844
|
"name": "get_tracked_change",
|
|
6762
6845
|
"description": "Retrieve a single tracked change by ID.",
|
|
6763
6846
|
"parameters": {
|
|
6764
|
-
"
|
|
6847
|
+
"type": "object",
|
|
6765
6848
|
"properties": {
|
|
6849
|
+
"doc": {
|
|
6850
|
+
"type": "string"
|
|
6851
|
+
},
|
|
6852
|
+
"sessionId": {
|
|
6853
|
+
"type": "string"
|
|
6854
|
+
},
|
|
6766
6855
|
"id": {
|
|
6767
6856
|
"type": "string"
|
|
6768
6857
|
}
|
|
@@ -6770,7 +6859,7 @@
|
|
|
6770
6859
|
"required": [
|
|
6771
6860
|
"id"
|
|
6772
6861
|
],
|
|
6773
|
-
"
|
|
6862
|
+
"additionalProperties": false
|
|
6774
6863
|
},
|
|
6775
6864
|
"returns": {
|
|
6776
6865
|
"additionalProperties": false,
|
|
@@ -6853,8 +6942,17 @@
|
|
|
6853
6942
|
"name": "accept_tracked_change",
|
|
6854
6943
|
"description": "Accept a tracked change, applying it permanently.",
|
|
6855
6944
|
"parameters": {
|
|
6856
|
-
"
|
|
6945
|
+
"type": "object",
|
|
6857
6946
|
"properties": {
|
|
6947
|
+
"doc": {
|
|
6948
|
+
"type": "string"
|
|
6949
|
+
},
|
|
6950
|
+
"sessionId": {
|
|
6951
|
+
"type": "string"
|
|
6952
|
+
},
|
|
6953
|
+
"force": {
|
|
6954
|
+
"type": "boolean"
|
|
6955
|
+
},
|
|
6858
6956
|
"id": {
|
|
6859
6957
|
"type": "string"
|
|
6860
6958
|
}
|
|
@@ -6862,7 +6960,7 @@
|
|
|
6862
6960
|
"required": [
|
|
6863
6961
|
"id"
|
|
6864
6962
|
],
|
|
6865
|
-
"
|
|
6963
|
+
"additionalProperties": false
|
|
6866
6964
|
},
|
|
6867
6965
|
"returns": {
|
|
6868
6966
|
"additionalProperties": false,
|
|
@@ -7045,8 +7143,17 @@
|
|
|
7045
7143
|
"name": "reject_tracked_change",
|
|
7046
7144
|
"description": "Reject a tracked change, reverting it.",
|
|
7047
7145
|
"parameters": {
|
|
7048
|
-
"
|
|
7146
|
+
"type": "object",
|
|
7049
7147
|
"properties": {
|
|
7148
|
+
"doc": {
|
|
7149
|
+
"type": "string"
|
|
7150
|
+
},
|
|
7151
|
+
"sessionId": {
|
|
7152
|
+
"type": "string"
|
|
7153
|
+
},
|
|
7154
|
+
"force": {
|
|
7155
|
+
"type": "boolean"
|
|
7156
|
+
},
|
|
7050
7157
|
"id": {
|
|
7051
7158
|
"type": "string"
|
|
7052
7159
|
}
|
|
@@ -7054,7 +7161,7 @@
|
|
|
7054
7161
|
"required": [
|
|
7055
7162
|
"id"
|
|
7056
7163
|
],
|
|
7057
|
-
"
|
|
7164
|
+
"additionalProperties": false
|
|
7058
7165
|
},
|
|
7059
7166
|
"returns": {
|
|
7060
7167
|
"additionalProperties": false,
|
|
@@ -7237,9 +7344,19 @@
|
|
|
7237
7344
|
"name": "accept_all_tracked_changes",
|
|
7238
7345
|
"description": "Accept all tracked changes in the document.",
|
|
7239
7346
|
"parameters": {
|
|
7240
|
-
"
|
|
7241
|
-
"properties": {
|
|
7242
|
-
|
|
7347
|
+
"type": "object",
|
|
7348
|
+
"properties": {
|
|
7349
|
+
"doc": {
|
|
7350
|
+
"type": "string"
|
|
7351
|
+
},
|
|
7352
|
+
"sessionId": {
|
|
7353
|
+
"type": "string"
|
|
7354
|
+
},
|
|
7355
|
+
"force": {
|
|
7356
|
+
"type": "boolean"
|
|
7357
|
+
}
|
|
7358
|
+
},
|
|
7359
|
+
"additionalProperties": false
|
|
7243
7360
|
},
|
|
7244
7361
|
"returns": {
|
|
7245
7362
|
"additionalProperties": false,
|
|
@@ -7422,9 +7539,19 @@
|
|
|
7422
7539
|
"name": "reject_all_tracked_changes",
|
|
7423
7540
|
"description": "Reject all tracked changes in the document.",
|
|
7424
7541
|
"parameters": {
|
|
7425
|
-
"
|
|
7426
|
-
"properties": {
|
|
7427
|
-
|
|
7542
|
+
"type": "object",
|
|
7543
|
+
"properties": {
|
|
7544
|
+
"doc": {
|
|
7545
|
+
"type": "string"
|
|
7546
|
+
},
|
|
7547
|
+
"sessionId": {
|
|
7548
|
+
"type": "string"
|
|
7549
|
+
},
|
|
7550
|
+
"force": {
|
|
7551
|
+
"type": "boolean"
|
|
7552
|
+
}
|
|
7553
|
+
},
|
|
7554
|
+
"additionalProperties": false
|
|
7428
7555
|
},
|
|
7429
7556
|
"returns": {
|
|
7430
7557
|
"additionalProperties": false,
|
|
@@ -8290,204 +8417,134 @@
|
|
|
8290
8417
|
"name": "doc_find",
|
|
8291
8418
|
"description": "Search the document for nodes matching type, text, or attribute criteria.",
|
|
8292
8419
|
"parameters": {
|
|
8293
|
-
"
|
|
8420
|
+
"type": "object",
|
|
8294
8421
|
"properties": {
|
|
8295
|
-
"
|
|
8296
|
-
"type": "
|
|
8297
|
-
},
|
|
8298
|
-
"includeUnknown": {
|
|
8299
|
-
"type": "boolean"
|
|
8300
|
-
},
|
|
8301
|
-
"limit": {
|
|
8302
|
-
"type": "integer"
|
|
8303
|
-
},
|
|
8304
|
-
"offset": {
|
|
8305
|
-
"type": "integer"
|
|
8422
|
+
"doc": {
|
|
8423
|
+
"type": "string"
|
|
8306
8424
|
},
|
|
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
|
-
]
|
|
8425
|
+
"sessionId": {
|
|
8426
|
+
"type": "string"
|
|
8400
8427
|
},
|
|
8401
8428
|
"within": {
|
|
8402
8429
|
"oneOf": [
|
|
8403
8430
|
{
|
|
8404
|
-
"
|
|
8431
|
+
"type": "object",
|
|
8405
8432
|
"properties": {
|
|
8406
8433
|
"kind": {
|
|
8407
8434
|
"const": "block"
|
|
8408
8435
|
},
|
|
8409
|
-
"nodeId": {
|
|
8410
|
-
"type": "string"
|
|
8411
|
-
},
|
|
8412
8436
|
"nodeType": {
|
|
8413
|
-
"
|
|
8414
|
-
|
|
8415
|
-
|
|
8416
|
-
|
|
8417
|
-
|
|
8418
|
-
|
|
8419
|
-
|
|
8420
|
-
|
|
8421
|
-
|
|
8437
|
+
"oneOf": [
|
|
8438
|
+
{
|
|
8439
|
+
"const": "paragraph"
|
|
8440
|
+
},
|
|
8441
|
+
{
|
|
8442
|
+
"const": "heading"
|
|
8443
|
+
},
|
|
8444
|
+
{
|
|
8445
|
+
"const": "listItem"
|
|
8446
|
+
},
|
|
8447
|
+
{
|
|
8448
|
+
"const": "table"
|
|
8449
|
+
},
|
|
8450
|
+
{
|
|
8451
|
+
"const": "tableRow"
|
|
8452
|
+
},
|
|
8453
|
+
{
|
|
8454
|
+
"const": "tableCell"
|
|
8455
|
+
},
|
|
8456
|
+
{
|
|
8457
|
+
"const": "image"
|
|
8458
|
+
},
|
|
8459
|
+
{
|
|
8460
|
+
"const": "sdt"
|
|
8461
|
+
}
|
|
8422
8462
|
]
|
|
8463
|
+
},
|
|
8464
|
+
"nodeId": {
|
|
8465
|
+
"type": "string"
|
|
8423
8466
|
}
|
|
8424
8467
|
},
|
|
8425
8468
|
"required": [
|
|
8426
8469
|
"kind",
|
|
8427
8470
|
"nodeType",
|
|
8428
8471
|
"nodeId"
|
|
8429
|
-
]
|
|
8430
|
-
"type": "object"
|
|
8472
|
+
]
|
|
8431
8473
|
},
|
|
8432
8474
|
{
|
|
8433
|
-
"
|
|
8475
|
+
"type": "object",
|
|
8434
8476
|
"properties": {
|
|
8477
|
+
"kind": {
|
|
8478
|
+
"const": "inline"
|
|
8479
|
+
},
|
|
8480
|
+
"nodeType": {
|
|
8481
|
+
"oneOf": [
|
|
8482
|
+
{
|
|
8483
|
+
"const": "run"
|
|
8484
|
+
},
|
|
8485
|
+
{
|
|
8486
|
+
"const": "bookmark"
|
|
8487
|
+
},
|
|
8488
|
+
{
|
|
8489
|
+
"const": "comment"
|
|
8490
|
+
},
|
|
8491
|
+
{
|
|
8492
|
+
"const": "hyperlink"
|
|
8493
|
+
},
|
|
8494
|
+
{
|
|
8495
|
+
"const": "sdt"
|
|
8496
|
+
},
|
|
8497
|
+
{
|
|
8498
|
+
"const": "image"
|
|
8499
|
+
},
|
|
8500
|
+
{
|
|
8501
|
+
"const": "footnoteRef"
|
|
8502
|
+
},
|
|
8503
|
+
{
|
|
8504
|
+
"const": "tab"
|
|
8505
|
+
},
|
|
8506
|
+
{
|
|
8507
|
+
"const": "lineBreak"
|
|
8508
|
+
}
|
|
8509
|
+
]
|
|
8510
|
+
},
|
|
8435
8511
|
"anchor": {
|
|
8436
|
-
"
|
|
8512
|
+
"type": "object",
|
|
8437
8513
|
"properties": {
|
|
8438
|
-
"
|
|
8439
|
-
"
|
|
8514
|
+
"start": {
|
|
8515
|
+
"type": "object",
|
|
8440
8516
|
"properties": {
|
|
8441
8517
|
"blockId": {
|
|
8442
8518
|
"type": "string"
|
|
8443
8519
|
},
|
|
8444
8520
|
"offset": {
|
|
8445
|
-
"type": "
|
|
8521
|
+
"type": "number"
|
|
8446
8522
|
}
|
|
8447
8523
|
},
|
|
8448
8524
|
"required": [
|
|
8449
8525
|
"blockId",
|
|
8450
8526
|
"offset"
|
|
8451
|
-
]
|
|
8452
|
-
"type": "object"
|
|
8527
|
+
]
|
|
8453
8528
|
},
|
|
8454
|
-
"
|
|
8455
|
-
"
|
|
8529
|
+
"end": {
|
|
8530
|
+
"type": "object",
|
|
8456
8531
|
"properties": {
|
|
8457
8532
|
"blockId": {
|
|
8458
8533
|
"type": "string"
|
|
8459
8534
|
},
|
|
8460
8535
|
"offset": {
|
|
8461
|
-
"type": "
|
|
8536
|
+
"type": "number"
|
|
8462
8537
|
}
|
|
8463
8538
|
},
|
|
8464
8539
|
"required": [
|
|
8465
8540
|
"blockId",
|
|
8466
8541
|
"offset"
|
|
8467
|
-
]
|
|
8468
|
-
"type": "object"
|
|
8542
|
+
]
|
|
8469
8543
|
}
|
|
8470
8544
|
},
|
|
8471
8545
|
"required": [
|
|
8472
8546
|
"start",
|
|
8473
8547
|
"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
8548
|
]
|
|
8492
8549
|
}
|
|
8493
8550
|
},
|
|
@@ -8495,16 +8552,43 @@
|
|
|
8495
8552
|
"kind",
|
|
8496
8553
|
"nodeType",
|
|
8497
8554
|
"anchor"
|
|
8498
|
-
]
|
|
8499
|
-
"type": "object"
|
|
8555
|
+
]
|
|
8500
8556
|
}
|
|
8501
8557
|
]
|
|
8502
|
-
}
|
|
8558
|
+
},
|
|
8559
|
+
"limit": {
|
|
8560
|
+
"type": "number"
|
|
8561
|
+
},
|
|
8562
|
+
"offset": {
|
|
8563
|
+
"type": "number"
|
|
8564
|
+
},
|
|
8565
|
+
"includeNodes": {
|
|
8566
|
+
"type": "boolean"
|
|
8567
|
+
},
|
|
8568
|
+
"includeUnknown": {
|
|
8569
|
+
"type": "boolean"
|
|
8570
|
+
},
|
|
8571
|
+
"type": {
|
|
8572
|
+
"type": "string"
|
|
8573
|
+
},
|
|
8574
|
+
"nodeType": {
|
|
8575
|
+
"type": "string"
|
|
8576
|
+
},
|
|
8577
|
+
"kind": {
|
|
8578
|
+
"type": "string"
|
|
8579
|
+
},
|
|
8580
|
+
"pattern": {
|
|
8581
|
+
"type": "string"
|
|
8582
|
+
},
|
|
8583
|
+
"mode": {
|
|
8584
|
+
"type": "string"
|
|
8585
|
+
},
|
|
8586
|
+
"caseSensitive": {
|
|
8587
|
+
"type": "boolean"
|
|
8588
|
+
},
|
|
8589
|
+
"query": {}
|
|
8503
8590
|
},
|
|
8504
|
-
"
|
|
8505
|
-
"select"
|
|
8506
|
-
],
|
|
8507
|
-
"type": "object"
|
|
8591
|
+
"additionalProperties": false
|
|
8508
8592
|
},
|
|
8509
8593
|
"returns": {
|
|
8510
8594
|
"additionalProperties": false,
|
|
@@ -8990,138 +9074,49 @@
|
|
|
8990
9074
|
"operationId": "doc.find",
|
|
8991
9075
|
"profile": "operation",
|
|
8992
9076
|
"mutates": false,
|
|
8993
|
-
"category": "query",
|
|
8994
|
-
"capabilities": [
|
|
8995
|
-
"search",
|
|
8996
|
-
"session-targeting",
|
|
8997
|
-
"stateless-doc"
|
|
8998
|
-
],
|
|
8999
|
-
"constraints": {
|
|
9000
|
-
"requiresOneOf": [
|
|
9001
|
-
[
|
|
9002
|
-
"type",
|
|
9003
|
-
"query"
|
|
9004
|
-
]
|
|
9005
|
-
],
|
|
9006
|
-
"mutuallyExclusive": [
|
|
9007
|
-
[
|
|
9008
|
-
"type",
|
|
9009
|
-
"query"
|
|
9010
|
-
]
|
|
9011
|
-
]
|
|
9012
|
-
},
|
|
9013
|
-
"requiredCapabilities": [],
|
|
9014
|
-
"profileTags": [],
|
|
9015
|
-
"examples": [],
|
|
9016
|
-
"commandTokens": [
|
|
9017
|
-
"find"
|
|
9018
|
-
]
|
|
9019
|
-
}
|
|
9020
|
-
},
|
|
9021
|
-
{
|
|
9022
|
-
"name": "doc_getNode",
|
|
9023
|
-
"description": "Retrieve a single node by target position.",
|
|
9024
|
-
"parameters": {
|
|
9025
|
-
"oneOf": [
|
|
9026
|
-
{
|
|
9027
|
-
"additionalProperties": false,
|
|
9028
|
-
"properties": {
|
|
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"
|
|
9054
|
-
},
|
|
9055
|
-
{
|
|
9056
|
-
"additionalProperties": false,
|
|
9057
|
-
"properties": {
|
|
9058
|
-
"anchor": {
|
|
9059
|
-
"additionalProperties": false,
|
|
9060
|
-
"properties": {
|
|
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
|
-
}
|
|
9077
|
+
"category": "query",
|
|
9078
|
+
"capabilities": [
|
|
9079
|
+
"search",
|
|
9080
|
+
"session-targeting",
|
|
9081
|
+
"stateless-doc"
|
|
9082
|
+
],
|
|
9083
|
+
"constraints": {
|
|
9084
|
+
"requiresOneOf": [
|
|
9085
|
+
[
|
|
9086
|
+
"type",
|
|
9087
|
+
"query"
|
|
9088
|
+
]
|
|
9089
|
+
],
|
|
9090
|
+
"mutuallyExclusive": [
|
|
9091
|
+
[
|
|
9092
|
+
"type",
|
|
9093
|
+
"query"
|
|
9094
|
+
]
|
|
9095
|
+
]
|
|
9096
|
+
},
|
|
9097
|
+
"requiredCapabilities": [],
|
|
9098
|
+
"profileTags": [],
|
|
9099
|
+
"examples": [],
|
|
9100
|
+
"commandTokens": [
|
|
9101
|
+
"find"
|
|
9124
9102
|
]
|
|
9103
|
+
}
|
|
9104
|
+
},
|
|
9105
|
+
{
|
|
9106
|
+
"name": "doc_getNode",
|
|
9107
|
+
"description": "Retrieve a single node by target position.",
|
|
9108
|
+
"parameters": {
|
|
9109
|
+
"type": "object",
|
|
9110
|
+
"properties": {
|
|
9111
|
+
"doc": {
|
|
9112
|
+
"type": "string"
|
|
9113
|
+
},
|
|
9114
|
+
"sessionId": {
|
|
9115
|
+
"type": "string"
|
|
9116
|
+
},
|
|
9117
|
+
"address": {}
|
|
9118
|
+
},
|
|
9119
|
+
"additionalProperties": false
|
|
9125
9120
|
},
|
|
9126
9121
|
"returns": {
|
|
9127
9122
|
"additionalProperties": false,
|
|
@@ -9213,28 +9208,25 @@
|
|
|
9213
9208
|
"name": "doc_getNodeById",
|
|
9214
9209
|
"description": "Retrieve a single node by its unique ID.",
|
|
9215
9210
|
"parameters": {
|
|
9216
|
-
"
|
|
9211
|
+
"type": "object",
|
|
9217
9212
|
"properties": {
|
|
9218
|
-
"
|
|
9213
|
+
"doc": {
|
|
9214
|
+
"type": "string"
|
|
9215
|
+
},
|
|
9216
|
+
"sessionId": {
|
|
9217
|
+
"type": "string"
|
|
9218
|
+
},
|
|
9219
|
+
"id": {
|
|
9219
9220
|
"type": "string"
|
|
9220
9221
|
},
|
|
9221
9222
|
"nodeType": {
|
|
9222
|
-
"
|
|
9223
|
-
"paragraph",
|
|
9224
|
-
"heading",
|
|
9225
|
-
"listItem",
|
|
9226
|
-
"table",
|
|
9227
|
-
"tableRow",
|
|
9228
|
-
"tableCell",
|
|
9229
|
-
"image",
|
|
9230
|
-
"sdt"
|
|
9231
|
-
]
|
|
9223
|
+
"type": "string"
|
|
9232
9224
|
}
|
|
9233
9225
|
},
|
|
9234
9226
|
"required": [
|
|
9235
|
-
"
|
|
9227
|
+
"id"
|
|
9236
9228
|
],
|
|
9237
|
-
"
|
|
9229
|
+
"additionalProperties": false
|
|
9238
9230
|
},
|
|
9239
9231
|
"returns": {
|
|
9240
9232
|
"additionalProperties": false,
|
|
@@ -9326,9 +9318,16 @@
|
|
|
9326
9318
|
"name": "doc_info",
|
|
9327
9319
|
"description": "Return document metadata including revision, node count, and capabilities.",
|
|
9328
9320
|
"parameters": {
|
|
9329
|
-
"
|
|
9330
|
-
"properties": {
|
|
9331
|
-
|
|
9321
|
+
"type": "object",
|
|
9322
|
+
"properties": {
|
|
9323
|
+
"doc": {
|
|
9324
|
+
"type": "string"
|
|
9325
|
+
},
|
|
9326
|
+
"sessionId": {
|
|
9327
|
+
"type": "string"
|
|
9328
|
+
}
|
|
9329
|
+
},
|
|
9330
|
+
"additionalProperties": false
|
|
9332
9331
|
},
|
|
9333
9332
|
"returns": {
|
|
9334
9333
|
"additionalProperties": false,
|
|
@@ -9442,49 +9441,62 @@
|
|
|
9442
9441
|
"name": "doc_insert",
|
|
9443
9442
|
"description": "Insert text or inline content at a target position.",
|
|
9444
9443
|
"parameters": {
|
|
9445
|
-
"
|
|
9444
|
+
"type": "object",
|
|
9446
9445
|
"properties": {
|
|
9446
|
+
"doc": {
|
|
9447
|
+
"type": "string"
|
|
9448
|
+
},
|
|
9449
|
+
"sessionId": {
|
|
9450
|
+
"type": "string"
|
|
9451
|
+
},
|
|
9452
|
+
"force": {
|
|
9453
|
+
"type": "boolean"
|
|
9454
|
+
},
|
|
9447
9455
|
"target": {
|
|
9448
|
-
"
|
|
9456
|
+
"type": "object",
|
|
9449
9457
|
"properties": {
|
|
9450
|
-
"blockId": {
|
|
9451
|
-
"type": "string"
|
|
9452
|
-
},
|
|
9453
9458
|
"kind": {
|
|
9454
9459
|
"const": "text"
|
|
9455
9460
|
},
|
|
9461
|
+
"blockId": {
|
|
9462
|
+
"type": "string"
|
|
9463
|
+
},
|
|
9456
9464
|
"range": {
|
|
9457
|
-
"
|
|
9465
|
+
"type": "object",
|
|
9458
9466
|
"properties": {
|
|
9459
|
-
"end": {
|
|
9460
|
-
"type": "integer"
|
|
9461
|
-
},
|
|
9462
9467
|
"start": {
|
|
9463
|
-
"type": "
|
|
9468
|
+
"type": "number"
|
|
9469
|
+
},
|
|
9470
|
+
"end": {
|
|
9471
|
+
"type": "number"
|
|
9464
9472
|
}
|
|
9465
9473
|
},
|
|
9466
9474
|
"required": [
|
|
9467
9475
|
"start",
|
|
9468
9476
|
"end"
|
|
9469
|
-
]
|
|
9470
|
-
"type": "object"
|
|
9477
|
+
]
|
|
9471
9478
|
}
|
|
9472
9479
|
},
|
|
9473
9480
|
"required": [
|
|
9474
9481
|
"kind",
|
|
9475
9482
|
"blockId",
|
|
9476
9483
|
"range"
|
|
9477
|
-
]
|
|
9478
|
-
"type": "object"
|
|
9484
|
+
]
|
|
9479
9485
|
},
|
|
9480
9486
|
"text": {
|
|
9481
9487
|
"type": "string"
|
|
9488
|
+
},
|
|
9489
|
+
"blockId": {
|
|
9490
|
+
"type": "string"
|
|
9491
|
+
},
|
|
9492
|
+
"offset": {
|
|
9493
|
+
"type": "number"
|
|
9482
9494
|
}
|
|
9483
9495
|
},
|
|
9484
9496
|
"required": [
|
|
9485
9497
|
"text"
|
|
9486
9498
|
],
|
|
9487
|
-
"
|
|
9499
|
+
"additionalProperties": false
|
|
9488
9500
|
},
|
|
9489
9501
|
"returns": {
|
|
9490
9502
|
"additionalProperties": false,
|
|
@@ -9761,50 +9773,65 @@
|
|
|
9761
9773
|
"name": "doc_replace",
|
|
9762
9774
|
"description": "Replace content at a target position with new text or inline content.",
|
|
9763
9775
|
"parameters": {
|
|
9764
|
-
"
|
|
9776
|
+
"type": "object",
|
|
9765
9777
|
"properties": {
|
|
9778
|
+
"doc": {
|
|
9779
|
+
"type": "string"
|
|
9780
|
+
},
|
|
9781
|
+
"sessionId": {
|
|
9782
|
+
"type": "string"
|
|
9783
|
+
},
|
|
9784
|
+
"force": {
|
|
9785
|
+
"type": "boolean"
|
|
9786
|
+
},
|
|
9766
9787
|
"target": {
|
|
9767
|
-
"
|
|
9788
|
+
"type": "object",
|
|
9768
9789
|
"properties": {
|
|
9769
|
-
"blockId": {
|
|
9770
|
-
"type": "string"
|
|
9771
|
-
},
|
|
9772
9790
|
"kind": {
|
|
9773
9791
|
"const": "text"
|
|
9774
9792
|
},
|
|
9793
|
+
"blockId": {
|
|
9794
|
+
"type": "string"
|
|
9795
|
+
},
|
|
9775
9796
|
"range": {
|
|
9776
|
-
"
|
|
9797
|
+
"type": "object",
|
|
9777
9798
|
"properties": {
|
|
9778
|
-
"end": {
|
|
9779
|
-
"type": "integer"
|
|
9780
|
-
},
|
|
9781
9799
|
"start": {
|
|
9782
|
-
"type": "
|
|
9800
|
+
"type": "number"
|
|
9801
|
+
},
|
|
9802
|
+
"end": {
|
|
9803
|
+
"type": "number"
|
|
9783
9804
|
}
|
|
9784
9805
|
},
|
|
9785
9806
|
"required": [
|
|
9786
9807
|
"start",
|
|
9787
9808
|
"end"
|
|
9788
|
-
]
|
|
9789
|
-
"type": "object"
|
|
9809
|
+
]
|
|
9790
9810
|
}
|
|
9791
9811
|
},
|
|
9792
9812
|
"required": [
|
|
9793
9813
|
"kind",
|
|
9794
9814
|
"blockId",
|
|
9795
9815
|
"range"
|
|
9796
|
-
]
|
|
9797
|
-
"type": "object"
|
|
9816
|
+
]
|
|
9798
9817
|
},
|
|
9799
9818
|
"text": {
|
|
9800
9819
|
"type": "string"
|
|
9820
|
+
},
|
|
9821
|
+
"blockId": {
|
|
9822
|
+
"type": "string"
|
|
9823
|
+
},
|
|
9824
|
+
"start": {
|
|
9825
|
+
"type": "number"
|
|
9826
|
+
},
|
|
9827
|
+
"end": {
|
|
9828
|
+
"type": "number"
|
|
9801
9829
|
}
|
|
9802
9830
|
},
|
|
9803
9831
|
"required": [
|
|
9804
|
-
"target",
|
|
9805
9832
|
"text"
|
|
9806
9833
|
],
|
|
9807
|
-
"
|
|
9834
|
+
"additionalProperties": false
|
|
9808
9835
|
},
|
|
9809
9836
|
"returns": {
|
|
9810
9837
|
"additionalProperties": false,
|
|
@@ -10081,46 +10108,59 @@
|
|
|
10081
10108
|
"name": "doc_delete",
|
|
10082
10109
|
"description": "Delete content at a target position.",
|
|
10083
10110
|
"parameters": {
|
|
10084
|
-
"
|
|
10111
|
+
"type": "object",
|
|
10085
10112
|
"properties": {
|
|
10113
|
+
"doc": {
|
|
10114
|
+
"type": "string"
|
|
10115
|
+
},
|
|
10116
|
+
"sessionId": {
|
|
10117
|
+
"type": "string"
|
|
10118
|
+
},
|
|
10119
|
+
"force": {
|
|
10120
|
+
"type": "boolean"
|
|
10121
|
+
},
|
|
10086
10122
|
"target": {
|
|
10087
|
-
"
|
|
10123
|
+
"type": "object",
|
|
10088
10124
|
"properties": {
|
|
10089
|
-
"blockId": {
|
|
10090
|
-
"type": "string"
|
|
10091
|
-
},
|
|
10092
10125
|
"kind": {
|
|
10093
10126
|
"const": "text"
|
|
10094
10127
|
},
|
|
10128
|
+
"blockId": {
|
|
10129
|
+
"type": "string"
|
|
10130
|
+
},
|
|
10095
10131
|
"range": {
|
|
10096
|
-
"
|
|
10132
|
+
"type": "object",
|
|
10097
10133
|
"properties": {
|
|
10098
|
-
"end": {
|
|
10099
|
-
"type": "integer"
|
|
10100
|
-
},
|
|
10101
10134
|
"start": {
|
|
10102
|
-
"type": "
|
|
10135
|
+
"type": "number"
|
|
10136
|
+
},
|
|
10137
|
+
"end": {
|
|
10138
|
+
"type": "number"
|
|
10103
10139
|
}
|
|
10104
10140
|
},
|
|
10105
10141
|
"required": [
|
|
10106
10142
|
"start",
|
|
10107
10143
|
"end"
|
|
10108
|
-
]
|
|
10109
|
-
"type": "object"
|
|
10144
|
+
]
|
|
10110
10145
|
}
|
|
10111
10146
|
},
|
|
10112
10147
|
"required": [
|
|
10113
10148
|
"kind",
|
|
10114
10149
|
"blockId",
|
|
10115
10150
|
"range"
|
|
10116
|
-
]
|
|
10117
|
-
|
|
10151
|
+
]
|
|
10152
|
+
},
|
|
10153
|
+
"blockId": {
|
|
10154
|
+
"type": "string"
|
|
10155
|
+
},
|
|
10156
|
+
"start": {
|
|
10157
|
+
"type": "number"
|
|
10158
|
+
},
|
|
10159
|
+
"end": {
|
|
10160
|
+
"type": "number"
|
|
10118
10161
|
}
|
|
10119
10162
|
},
|
|
10120
|
-
"
|
|
10121
|
-
"target"
|
|
10122
|
-
],
|
|
10123
|
-
"type": "object"
|
|
10163
|
+
"additionalProperties": false
|
|
10124
10164
|
},
|
|
10125
10165
|
"returns": {
|
|
10126
10166
|
"additionalProperties": false,
|
|
@@ -10397,46 +10437,59 @@
|
|
|
10397
10437
|
"name": "doc_format_bold",
|
|
10398
10438
|
"description": "Toggle bold formatting on the target range.",
|
|
10399
10439
|
"parameters": {
|
|
10400
|
-
"
|
|
10440
|
+
"type": "object",
|
|
10401
10441
|
"properties": {
|
|
10442
|
+
"doc": {
|
|
10443
|
+
"type": "string"
|
|
10444
|
+
},
|
|
10445
|
+
"sessionId": {
|
|
10446
|
+
"type": "string"
|
|
10447
|
+
},
|
|
10448
|
+
"force": {
|
|
10449
|
+
"type": "boolean"
|
|
10450
|
+
},
|
|
10402
10451
|
"target": {
|
|
10403
|
-
"
|
|
10452
|
+
"type": "object",
|
|
10404
10453
|
"properties": {
|
|
10405
|
-
"blockId": {
|
|
10406
|
-
"type": "string"
|
|
10407
|
-
},
|
|
10408
10454
|
"kind": {
|
|
10409
10455
|
"const": "text"
|
|
10410
10456
|
},
|
|
10457
|
+
"blockId": {
|
|
10458
|
+
"type": "string"
|
|
10459
|
+
},
|
|
10411
10460
|
"range": {
|
|
10412
|
-
"
|
|
10461
|
+
"type": "object",
|
|
10413
10462
|
"properties": {
|
|
10414
|
-
"end": {
|
|
10415
|
-
"type": "integer"
|
|
10416
|
-
},
|
|
10417
10463
|
"start": {
|
|
10418
|
-
"type": "
|
|
10464
|
+
"type": "number"
|
|
10465
|
+
},
|
|
10466
|
+
"end": {
|
|
10467
|
+
"type": "number"
|
|
10419
10468
|
}
|
|
10420
10469
|
},
|
|
10421
10470
|
"required": [
|
|
10422
10471
|
"start",
|
|
10423
10472
|
"end"
|
|
10424
|
-
]
|
|
10425
|
-
"type": "object"
|
|
10473
|
+
]
|
|
10426
10474
|
}
|
|
10427
10475
|
},
|
|
10428
10476
|
"required": [
|
|
10429
10477
|
"kind",
|
|
10430
10478
|
"blockId",
|
|
10431
10479
|
"range"
|
|
10432
|
-
]
|
|
10433
|
-
|
|
10480
|
+
]
|
|
10481
|
+
},
|
|
10482
|
+
"blockId": {
|
|
10483
|
+
"type": "string"
|
|
10484
|
+
},
|
|
10485
|
+
"start": {
|
|
10486
|
+
"type": "number"
|
|
10487
|
+
},
|
|
10488
|
+
"end": {
|
|
10489
|
+
"type": "number"
|
|
10434
10490
|
}
|
|
10435
10491
|
},
|
|
10436
|
-
"
|
|
10437
|
-
"target"
|
|
10438
|
-
],
|
|
10439
|
-
"type": "object"
|
|
10492
|
+
"additionalProperties": false
|
|
10440
10493
|
},
|
|
10441
10494
|
"returns": {
|
|
10442
10495
|
"additionalProperties": false,
|
|
@@ -10714,46 +10767,59 @@
|
|
|
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
|
-
|
|
10810
|
+
]
|
|
10811
|
+
},
|
|
10812
|
+
"blockId": {
|
|
10813
|
+
"type": "string"
|
|
10814
|
+
},
|
|
10815
|
+
"start": {
|
|
10816
|
+
"type": "number"
|
|
10817
|
+
},
|
|
10818
|
+
"end": {
|
|
10819
|
+
"type": "number"
|
|
10751
10820
|
}
|
|
10752
10821
|
},
|
|
10753
|
-
"
|
|
10754
|
-
"target"
|
|
10755
|
-
],
|
|
10756
|
-
"type": "object"
|
|
10822
|
+
"additionalProperties": false
|
|
10757
10823
|
},
|
|
10758
10824
|
"returns": {
|
|
10759
10825
|
"additionalProperties": false,
|
|
@@ -11031,46 +11097,59 @@
|
|
|
11031
11097
|
"name": "doc_format_underline",
|
|
11032
11098
|
"description": "Toggle underline formatting on the target range.",
|
|
11033
11099
|
"parameters": {
|
|
11034
|
-
"
|
|
11100
|
+
"type": "object",
|
|
11035
11101
|
"properties": {
|
|
11102
|
+
"doc": {
|
|
11103
|
+
"type": "string"
|
|
11104
|
+
},
|
|
11105
|
+
"sessionId": {
|
|
11106
|
+
"type": "string"
|
|
11107
|
+
},
|
|
11108
|
+
"force": {
|
|
11109
|
+
"type": "boolean"
|
|
11110
|
+
},
|
|
11036
11111
|
"target": {
|
|
11037
|
-
"
|
|
11112
|
+
"type": "object",
|
|
11038
11113
|
"properties": {
|
|
11039
|
-
"blockId": {
|
|
11040
|
-
"type": "string"
|
|
11041
|
-
},
|
|
11042
11114
|
"kind": {
|
|
11043
11115
|
"const": "text"
|
|
11044
11116
|
},
|
|
11117
|
+
"blockId": {
|
|
11118
|
+
"type": "string"
|
|
11119
|
+
},
|
|
11045
11120
|
"range": {
|
|
11046
|
-
"
|
|
11121
|
+
"type": "object",
|
|
11047
11122
|
"properties": {
|
|
11048
|
-
"end": {
|
|
11049
|
-
"type": "integer"
|
|
11050
|
-
},
|
|
11051
11123
|
"start": {
|
|
11052
|
-
"type": "
|
|
11124
|
+
"type": "number"
|
|
11125
|
+
},
|
|
11126
|
+
"end": {
|
|
11127
|
+
"type": "number"
|
|
11053
11128
|
}
|
|
11054
11129
|
},
|
|
11055
11130
|
"required": [
|
|
11056
11131
|
"start",
|
|
11057
11132
|
"end"
|
|
11058
|
-
]
|
|
11059
|
-
"type": "object"
|
|
11133
|
+
]
|
|
11060
11134
|
}
|
|
11061
11135
|
},
|
|
11062
11136
|
"required": [
|
|
11063
11137
|
"kind",
|
|
11064
11138
|
"blockId",
|
|
11065
11139
|
"range"
|
|
11066
|
-
]
|
|
11067
|
-
|
|
11140
|
+
]
|
|
11141
|
+
},
|
|
11142
|
+
"blockId": {
|
|
11143
|
+
"type": "string"
|
|
11144
|
+
},
|
|
11145
|
+
"start": {
|
|
11146
|
+
"type": "number"
|
|
11147
|
+
},
|
|
11148
|
+
"end": {
|
|
11149
|
+
"type": "number"
|
|
11068
11150
|
}
|
|
11069
11151
|
},
|
|
11070
|
-
"
|
|
11071
|
-
"target"
|
|
11072
|
-
],
|
|
11073
|
-
"type": "object"
|
|
11152
|
+
"additionalProperties": false
|
|
11074
11153
|
},
|
|
11075
11154
|
"returns": {
|
|
11076
11155
|
"additionalProperties": false,
|
|
@@ -11348,46 +11427,59 @@
|
|
|
11348
11427
|
"name": "doc_format_strikethrough",
|
|
11349
11428
|
"description": "Toggle strikethrough formatting on the target range.",
|
|
11350
11429
|
"parameters": {
|
|
11351
|
-
"
|
|
11430
|
+
"type": "object",
|
|
11352
11431
|
"properties": {
|
|
11432
|
+
"doc": {
|
|
11433
|
+
"type": "string"
|
|
11434
|
+
},
|
|
11435
|
+
"sessionId": {
|
|
11436
|
+
"type": "string"
|
|
11437
|
+
},
|
|
11438
|
+
"force": {
|
|
11439
|
+
"type": "boolean"
|
|
11440
|
+
},
|
|
11353
11441
|
"target": {
|
|
11354
|
-
"
|
|
11442
|
+
"type": "object",
|
|
11355
11443
|
"properties": {
|
|
11356
|
-
"blockId": {
|
|
11357
|
-
"type": "string"
|
|
11358
|
-
},
|
|
11359
11444
|
"kind": {
|
|
11360
11445
|
"const": "text"
|
|
11361
11446
|
},
|
|
11447
|
+
"blockId": {
|
|
11448
|
+
"type": "string"
|
|
11449
|
+
},
|
|
11362
11450
|
"range": {
|
|
11363
|
-
"
|
|
11451
|
+
"type": "object",
|
|
11364
11452
|
"properties": {
|
|
11365
|
-
"end": {
|
|
11366
|
-
"type": "integer"
|
|
11367
|
-
},
|
|
11368
11453
|
"start": {
|
|
11369
|
-
"type": "
|
|
11454
|
+
"type": "number"
|
|
11455
|
+
},
|
|
11456
|
+
"end": {
|
|
11457
|
+
"type": "number"
|
|
11370
11458
|
}
|
|
11371
11459
|
},
|
|
11372
11460
|
"required": [
|
|
11373
11461
|
"start",
|
|
11374
11462
|
"end"
|
|
11375
|
-
]
|
|
11376
|
-
"type": "object"
|
|
11463
|
+
]
|
|
11377
11464
|
}
|
|
11378
11465
|
},
|
|
11379
11466
|
"required": [
|
|
11380
11467
|
"kind",
|
|
11381
11468
|
"blockId",
|
|
11382
11469
|
"range"
|
|
11383
|
-
]
|
|
11384
|
-
|
|
11470
|
+
]
|
|
11471
|
+
},
|
|
11472
|
+
"blockId": {
|
|
11473
|
+
"type": "string"
|
|
11474
|
+
},
|
|
11475
|
+
"start": {
|
|
11476
|
+
"type": "number"
|
|
11477
|
+
},
|
|
11478
|
+
"end": {
|
|
11479
|
+
"type": "number"
|
|
11385
11480
|
}
|
|
11386
11481
|
},
|
|
11387
|
-
"
|
|
11388
|
-
"target"
|
|
11389
|
-
],
|
|
11390
|
-
"type": "object"
|
|
11482
|
+
"additionalProperties": false
|
|
11391
11483
|
},
|
|
11392
11484
|
"returns": {
|
|
11393
11485
|
"additionalProperties": false,
|
|
@@ -11665,12 +11757,21 @@
|
|
|
11665
11757
|
"name": "doc_create_paragraph",
|
|
11666
11758
|
"description": "Create a new paragraph at the target position.",
|
|
11667
11759
|
"parameters": {
|
|
11668
|
-
"
|
|
11760
|
+
"type": "object",
|
|
11669
11761
|
"properties": {
|
|
11762
|
+
"doc": {
|
|
11763
|
+
"type": "string"
|
|
11764
|
+
},
|
|
11765
|
+
"sessionId": {
|
|
11766
|
+
"type": "string"
|
|
11767
|
+
},
|
|
11768
|
+
"force": {
|
|
11769
|
+
"type": "boolean"
|
|
11770
|
+
},
|
|
11670
11771
|
"at": {
|
|
11671
11772
|
"oneOf": [
|
|
11672
11773
|
{
|
|
11673
|
-
"
|
|
11774
|
+
"type": "object",
|
|
11674
11775
|
"properties": {
|
|
11675
11776
|
"kind": {
|
|
11676
11777
|
"const": "documentStart"
|
|
@@ -11678,11 +11779,10 @@
|
|
|
11678
11779
|
},
|
|
11679
11780
|
"required": [
|
|
11680
11781
|
"kind"
|
|
11681
|
-
]
|
|
11682
|
-
"type": "object"
|
|
11782
|
+
]
|
|
11683
11783
|
},
|
|
11684
11784
|
{
|
|
11685
|
-
"
|
|
11785
|
+
"type": "object",
|
|
11686
11786
|
"properties": {
|
|
11687
11787
|
"kind": {
|
|
11688
11788
|
"const": "documentEnd"
|
|
@@ -11690,100 +11790,36 @@
|
|
|
11690
11790
|
},
|
|
11691
11791
|
"required": [
|
|
11692
11792
|
"kind"
|
|
11693
|
-
]
|
|
11694
|
-
"type": "object"
|
|
11793
|
+
]
|
|
11695
11794
|
},
|
|
11696
11795
|
{
|
|
11697
|
-
"
|
|
11698
|
-
|
|
11699
|
-
|
|
11700
|
-
"const": "before"
|
|
11796
|
+
"oneOf": [
|
|
11797
|
+
{
|
|
11798
|
+
"type": "json"
|
|
11701
11799
|
},
|
|
11702
|
-
|
|
11703
|
-
"
|
|
11704
|
-
"properties": {
|
|
11705
|
-
"kind": {
|
|
11706
|
-
"const": "block"
|
|
11707
|
-
},
|
|
11708
|
-
"nodeId": {
|
|
11709
|
-
"type": "string"
|
|
11710
|
-
},
|
|
11711
|
-
"nodeType": {
|
|
11712
|
-
"enum": [
|
|
11713
|
-
"paragraph",
|
|
11714
|
-
"heading",
|
|
11715
|
-
"listItem",
|
|
11716
|
-
"table",
|
|
11717
|
-
"tableRow",
|
|
11718
|
-
"tableCell",
|
|
11719
|
-
"image",
|
|
11720
|
-
"sdt"
|
|
11721
|
-
]
|
|
11722
|
-
}
|
|
11723
|
-
},
|
|
11724
|
-
"required": [
|
|
11725
|
-
"kind",
|
|
11726
|
-
"nodeType",
|
|
11727
|
-
"nodeId"
|
|
11728
|
-
],
|
|
11729
|
-
"type": "object"
|
|
11800
|
+
{
|
|
11801
|
+
"type": "json"
|
|
11730
11802
|
}
|
|
11731
|
-
|
|
11732
|
-
"required": [
|
|
11733
|
-
"kind",
|
|
11734
|
-
"target"
|
|
11735
|
-
],
|
|
11736
|
-
"type": "object"
|
|
11803
|
+
]
|
|
11737
11804
|
},
|
|
11738
11805
|
{
|
|
11739
|
-
"
|
|
11740
|
-
|
|
11741
|
-
|
|
11742
|
-
"const": "after"
|
|
11806
|
+
"oneOf": [
|
|
11807
|
+
{
|
|
11808
|
+
"type": "json"
|
|
11743
11809
|
},
|
|
11744
|
-
|
|
11745
|
-
"
|
|
11746
|
-
"properties": {
|
|
11747
|
-
"kind": {
|
|
11748
|
-
"const": "block"
|
|
11749
|
-
},
|
|
11750
|
-
"nodeId": {
|
|
11751
|
-
"type": "string"
|
|
11752
|
-
},
|
|
11753
|
-
"nodeType": {
|
|
11754
|
-
"enum": [
|
|
11755
|
-
"paragraph",
|
|
11756
|
-
"heading",
|
|
11757
|
-
"listItem",
|
|
11758
|
-
"table",
|
|
11759
|
-
"tableRow",
|
|
11760
|
-
"tableCell",
|
|
11761
|
-
"image",
|
|
11762
|
-
"sdt"
|
|
11763
|
-
]
|
|
11764
|
-
}
|
|
11765
|
-
},
|
|
11766
|
-
"required": [
|
|
11767
|
-
"kind",
|
|
11768
|
-
"nodeType",
|
|
11769
|
-
"nodeId"
|
|
11770
|
-
],
|
|
11771
|
-
"type": "object"
|
|
11810
|
+
{
|
|
11811
|
+
"type": "json"
|
|
11772
11812
|
}
|
|
11773
|
-
|
|
11774
|
-
"required": [
|
|
11775
|
-
"kind",
|
|
11776
|
-
"target"
|
|
11777
|
-
],
|
|
11778
|
-
"type": "object"
|
|
11813
|
+
]
|
|
11779
11814
|
}
|
|
11780
11815
|
]
|
|
11781
11816
|
},
|
|
11782
11817
|
"text": {
|
|
11783
11818
|
"type": "string"
|
|
11784
|
-
}
|
|
11819
|
+
},
|
|
11820
|
+
"input": {}
|
|
11785
11821
|
},
|
|
11786
|
-
"
|
|
11822
|
+
"additionalProperties": false
|
|
11787
11823
|
},
|
|
11788
11824
|
"returns": {
|
|
11789
11825
|
"additionalProperties": false,
|
|
@@ -11902,57 +11938,76 @@
|
|
|
11902
11938
|
"name": "doc_lists_list",
|
|
11903
11939
|
"description": "List all list nodes in the document, optionally filtered by scope.",
|
|
11904
11940
|
"parameters": {
|
|
11905
|
-
"
|
|
11941
|
+
"type": "object",
|
|
11906
11942
|
"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"
|
|
11943
|
+
"doc": {
|
|
11944
|
+
"type": "string"
|
|
11921
11945
|
},
|
|
11922
|
-
"
|
|
11923
|
-
"type": "
|
|
11946
|
+
"sessionId": {
|
|
11947
|
+
"type": "string"
|
|
11924
11948
|
},
|
|
11925
11949
|
"within": {
|
|
11926
|
-
"
|
|
11950
|
+
"type": "object",
|
|
11927
11951
|
"properties": {
|
|
11928
11952
|
"kind": {
|
|
11929
11953
|
"const": "block"
|
|
11930
11954
|
},
|
|
11931
|
-
"nodeId": {
|
|
11932
|
-
"type": "string"
|
|
11933
|
-
},
|
|
11934
11955
|
"nodeType": {
|
|
11935
|
-
"
|
|
11936
|
-
|
|
11937
|
-
|
|
11938
|
-
|
|
11939
|
-
|
|
11940
|
-
|
|
11941
|
-
|
|
11942
|
-
|
|
11943
|
-
|
|
11956
|
+
"oneOf": [
|
|
11957
|
+
{
|
|
11958
|
+
"const": "paragraph"
|
|
11959
|
+
},
|
|
11960
|
+
{
|
|
11961
|
+
"const": "heading"
|
|
11962
|
+
},
|
|
11963
|
+
{
|
|
11964
|
+
"const": "listItem"
|
|
11965
|
+
},
|
|
11966
|
+
{
|
|
11967
|
+
"const": "table"
|
|
11968
|
+
},
|
|
11969
|
+
{
|
|
11970
|
+
"const": "tableRow"
|
|
11971
|
+
},
|
|
11972
|
+
{
|
|
11973
|
+
"const": "tableCell"
|
|
11974
|
+
},
|
|
11975
|
+
{
|
|
11976
|
+
"const": "image"
|
|
11977
|
+
},
|
|
11978
|
+
{
|
|
11979
|
+
"const": "sdt"
|
|
11980
|
+
}
|
|
11944
11981
|
]
|
|
11982
|
+
},
|
|
11983
|
+
"nodeId": {
|
|
11984
|
+
"type": "string"
|
|
11945
11985
|
}
|
|
11946
11986
|
},
|
|
11947
11987
|
"required": [
|
|
11948
11988
|
"kind",
|
|
11949
11989
|
"nodeType",
|
|
11950
11990
|
"nodeId"
|
|
11951
|
-
]
|
|
11952
|
-
|
|
11953
|
-
|
|
11991
|
+
]
|
|
11992
|
+
},
|
|
11993
|
+
"limit": {
|
|
11994
|
+
"type": "number"
|
|
11995
|
+
},
|
|
11996
|
+
"offset": {
|
|
11997
|
+
"type": "number"
|
|
11998
|
+
},
|
|
11999
|
+
"kind": {
|
|
12000
|
+
"type": "string"
|
|
12001
|
+
},
|
|
12002
|
+
"level": {
|
|
12003
|
+
"type": "number"
|
|
12004
|
+
},
|
|
12005
|
+
"ordinal": {
|
|
12006
|
+
"type": "number"
|
|
12007
|
+
},
|
|
12008
|
+
"query": {}
|
|
11954
12009
|
},
|
|
11955
|
-
"
|
|
12010
|
+
"additionalProperties": false
|
|
11956
12011
|
},
|
|
11957
12012
|
"returns": {
|
|
11958
12013
|
"additionalProperties": false,
|
|
@@ -12099,33 +12154,38 @@
|
|
|
12099
12154
|
"name": "doc_lists_get",
|
|
12100
12155
|
"description": "Retrieve a specific list node by target.",
|
|
12101
12156
|
"parameters": {
|
|
12102
|
-
"
|
|
12157
|
+
"type": "object",
|
|
12103
12158
|
"properties": {
|
|
12159
|
+
"doc": {
|
|
12160
|
+
"type": "string"
|
|
12161
|
+
},
|
|
12162
|
+
"sessionId": {
|
|
12163
|
+
"type": "string"
|
|
12164
|
+
},
|
|
12104
12165
|
"address": {
|
|
12105
|
-
"
|
|
12166
|
+
"type": "object",
|
|
12106
12167
|
"properties": {
|
|
12107
12168
|
"kind": {
|
|
12108
12169
|
"const": "block"
|
|
12109
12170
|
},
|
|
12110
|
-
"nodeId": {
|
|
12111
|
-
"type": "string"
|
|
12112
|
-
},
|
|
12113
12171
|
"nodeType": {
|
|
12114
12172
|
"const": "listItem"
|
|
12173
|
+
},
|
|
12174
|
+
"nodeId": {
|
|
12175
|
+
"type": "string"
|
|
12115
12176
|
}
|
|
12116
12177
|
},
|
|
12117
12178
|
"required": [
|
|
12118
12179
|
"kind",
|
|
12119
12180
|
"nodeType",
|
|
12120
|
-
"nodeId"
|
|
12121
|
-
]
|
|
12122
|
-
"type": "object"
|
|
12181
|
+
"nodeId"
|
|
12182
|
+
]
|
|
12123
12183
|
}
|
|
12124
12184
|
},
|
|
12125
12185
|
"required": [
|
|
12126
12186
|
"address"
|
|
12127
12187
|
],
|
|
12128
|
-
"
|
|
12188
|
+
"additionalProperties": false
|
|
12129
12189
|
},
|
|
12130
12190
|
"returns": {
|
|
12131
12191
|
"additionalProperties": false,
|
|
@@ -12204,43 +12264,48 @@
|
|
|
12204
12264
|
"name": "doc_lists_insert",
|
|
12205
12265
|
"description": "Insert a new list at the target position.",
|
|
12206
12266
|
"parameters": {
|
|
12207
|
-
"
|
|
12267
|
+
"type": "object",
|
|
12208
12268
|
"properties": {
|
|
12209
|
-
"
|
|
12210
|
-
"
|
|
12211
|
-
|
|
12212
|
-
|
|
12213
|
-
|
|
12269
|
+
"doc": {
|
|
12270
|
+
"type": "string"
|
|
12271
|
+
},
|
|
12272
|
+
"sessionId": {
|
|
12273
|
+
"type": "string"
|
|
12274
|
+
},
|
|
12275
|
+
"force": {
|
|
12276
|
+
"type": "boolean"
|
|
12214
12277
|
},
|
|
12215
12278
|
"target": {
|
|
12216
|
-
"
|
|
12279
|
+
"type": "object",
|
|
12217
12280
|
"properties": {
|
|
12218
12281
|
"kind": {
|
|
12219
12282
|
"const": "block"
|
|
12220
12283
|
},
|
|
12221
|
-
"nodeId": {
|
|
12222
|
-
"type": "string"
|
|
12223
|
-
},
|
|
12224
12284
|
"nodeType": {
|
|
12225
12285
|
"const": "listItem"
|
|
12286
|
+
},
|
|
12287
|
+
"nodeId": {
|
|
12288
|
+
"type": "string"
|
|
12226
12289
|
}
|
|
12227
12290
|
},
|
|
12228
12291
|
"required": [
|
|
12229
12292
|
"kind",
|
|
12230
12293
|
"nodeType",
|
|
12231
12294
|
"nodeId"
|
|
12232
|
-
]
|
|
12233
|
-
|
|
12295
|
+
]
|
|
12296
|
+
},
|
|
12297
|
+
"nodeId": {
|
|
12298
|
+
"type": "string"
|
|
12299
|
+
},
|
|
12300
|
+
"position": {
|
|
12301
|
+
"type": "string"
|
|
12234
12302
|
},
|
|
12235
12303
|
"text": {
|
|
12236
12304
|
"type": "string"
|
|
12237
|
-
}
|
|
12305
|
+
},
|
|
12306
|
+
"input": {}
|
|
12238
12307
|
},
|
|
12239
|
-
"
|
|
12240
|
-
"target",
|
|
12241
|
-
"position"
|
|
12242
|
-
],
|
|
12243
|
-
"type": "object"
|
|
12308
|
+
"additionalProperties": false
|
|
12244
12309
|
},
|
|
12245
12310
|
"returns": {
|
|
12246
12311
|
"additionalProperties": false,
|
|
@@ -12360,40 +12425,45 @@
|
|
|
12360
12425
|
"name": "doc_lists_setType",
|
|
12361
12426
|
"description": "Change the list type (ordered, unordered) of a target list.",
|
|
12362
12427
|
"parameters": {
|
|
12363
|
-
"
|
|
12428
|
+
"type": "object",
|
|
12364
12429
|
"properties": {
|
|
12365
|
-
"
|
|
12366
|
-
"
|
|
12367
|
-
|
|
12368
|
-
|
|
12369
|
-
|
|
12430
|
+
"doc": {
|
|
12431
|
+
"type": "string"
|
|
12432
|
+
},
|
|
12433
|
+
"sessionId": {
|
|
12434
|
+
"type": "string"
|
|
12435
|
+
},
|
|
12436
|
+
"force": {
|
|
12437
|
+
"type": "boolean"
|
|
12370
12438
|
},
|
|
12371
12439
|
"target": {
|
|
12372
|
-
"
|
|
12440
|
+
"type": "object",
|
|
12373
12441
|
"properties": {
|
|
12374
12442
|
"kind": {
|
|
12375
12443
|
"const": "block"
|
|
12376
12444
|
},
|
|
12377
|
-
"nodeId": {
|
|
12378
|
-
"type": "string"
|
|
12379
|
-
},
|
|
12380
12445
|
"nodeType": {
|
|
12381
12446
|
"const": "listItem"
|
|
12447
|
+
},
|
|
12448
|
+
"nodeId": {
|
|
12449
|
+
"type": "string"
|
|
12382
12450
|
}
|
|
12383
12451
|
},
|
|
12384
12452
|
"required": [
|
|
12385
12453
|
"kind",
|
|
12386
12454
|
"nodeType",
|
|
12387
12455
|
"nodeId"
|
|
12388
|
-
]
|
|
12389
|
-
|
|
12390
|
-
|
|
12456
|
+
]
|
|
12457
|
+
},
|
|
12458
|
+
"nodeId": {
|
|
12459
|
+
"type": "string"
|
|
12460
|
+
},
|
|
12461
|
+
"kind": {
|
|
12462
|
+
"type": "string"
|
|
12463
|
+
},
|
|
12464
|
+
"input": {}
|
|
12391
12465
|
},
|
|
12392
|
-
"
|
|
12393
|
-
"target",
|
|
12394
|
-
"kind"
|
|
12395
|
-
],
|
|
12396
|
-
"type": "object"
|
|
12466
|
+
"additionalProperties": false
|
|
12397
12467
|
},
|
|
12398
12468
|
"returns": {
|
|
12399
12469
|
"additionalProperties": false,
|
|
@@ -12456,33 +12526,42 @@
|
|
|
12456
12526
|
"name": "doc_lists_indent",
|
|
12457
12527
|
"description": "Increase the indentation level of a list item.",
|
|
12458
12528
|
"parameters": {
|
|
12459
|
-
"
|
|
12529
|
+
"type": "object",
|
|
12460
12530
|
"properties": {
|
|
12531
|
+
"doc": {
|
|
12532
|
+
"type": "string"
|
|
12533
|
+
},
|
|
12534
|
+
"sessionId": {
|
|
12535
|
+
"type": "string"
|
|
12536
|
+
},
|
|
12537
|
+
"force": {
|
|
12538
|
+
"type": "boolean"
|
|
12539
|
+
},
|
|
12461
12540
|
"target": {
|
|
12462
|
-
"
|
|
12541
|
+
"type": "object",
|
|
12463
12542
|
"properties": {
|
|
12464
12543
|
"kind": {
|
|
12465
12544
|
"const": "block"
|
|
12466
12545
|
},
|
|
12467
|
-
"nodeId": {
|
|
12468
|
-
"type": "string"
|
|
12469
|
-
},
|
|
12470
12546
|
"nodeType": {
|
|
12471
12547
|
"const": "listItem"
|
|
12548
|
+
},
|
|
12549
|
+
"nodeId": {
|
|
12550
|
+
"type": "string"
|
|
12472
12551
|
}
|
|
12473
12552
|
},
|
|
12474
12553
|
"required": [
|
|
12475
12554
|
"kind",
|
|
12476
12555
|
"nodeType",
|
|
12477
12556
|
"nodeId"
|
|
12478
|
-
]
|
|
12479
|
-
|
|
12480
|
-
|
|
12557
|
+
]
|
|
12558
|
+
},
|
|
12559
|
+
"nodeId": {
|
|
12560
|
+
"type": "string"
|
|
12561
|
+
},
|
|
12562
|
+
"input": {}
|
|
12481
12563
|
},
|
|
12482
|
-
"
|
|
12483
|
-
"target"
|
|
12484
|
-
],
|
|
12485
|
-
"type": "object"
|
|
12564
|
+
"additionalProperties": false
|
|
12486
12565
|
},
|
|
12487
12566
|
"returns": {
|
|
12488
12567
|
"additionalProperties": false,
|
|
@@ -12545,33 +12624,42 @@
|
|
|
12545
12624
|
"name": "doc_lists_outdent",
|
|
12546
12625
|
"description": "Decrease the indentation level of a list item.",
|
|
12547
12626
|
"parameters": {
|
|
12548
|
-
"
|
|
12627
|
+
"type": "object",
|
|
12549
12628
|
"properties": {
|
|
12629
|
+
"doc": {
|
|
12630
|
+
"type": "string"
|
|
12631
|
+
},
|
|
12632
|
+
"sessionId": {
|
|
12633
|
+
"type": "string"
|
|
12634
|
+
},
|
|
12635
|
+
"force": {
|
|
12636
|
+
"type": "boolean"
|
|
12637
|
+
},
|
|
12550
12638
|
"target": {
|
|
12551
|
-
"
|
|
12639
|
+
"type": "object",
|
|
12552
12640
|
"properties": {
|
|
12553
12641
|
"kind": {
|
|
12554
12642
|
"const": "block"
|
|
12555
12643
|
},
|
|
12556
|
-
"nodeId": {
|
|
12557
|
-
"type": "string"
|
|
12558
|
-
},
|
|
12559
12644
|
"nodeType": {
|
|
12560
12645
|
"const": "listItem"
|
|
12646
|
+
},
|
|
12647
|
+
"nodeId": {
|
|
12648
|
+
"type": "string"
|
|
12561
12649
|
}
|
|
12562
12650
|
},
|
|
12563
12651
|
"required": [
|
|
12564
12652
|
"kind",
|
|
12565
12653
|
"nodeType",
|
|
12566
12654
|
"nodeId"
|
|
12567
|
-
]
|
|
12568
|
-
|
|
12569
|
-
|
|
12655
|
+
]
|
|
12656
|
+
},
|
|
12657
|
+
"nodeId": {
|
|
12658
|
+
"type": "string"
|
|
12659
|
+
},
|
|
12660
|
+
"input": {}
|
|
12570
12661
|
},
|
|
12571
|
-
"
|
|
12572
|
-
"target"
|
|
12573
|
-
],
|
|
12574
|
-
"type": "object"
|
|
12662
|
+
"additionalProperties": false
|
|
12575
12663
|
},
|
|
12576
12664
|
"returns": {
|
|
12577
12665
|
"additionalProperties": false,
|
|
@@ -12634,33 +12722,42 @@
|
|
|
12634
12722
|
"name": "doc_lists_restart",
|
|
12635
12723
|
"description": "Restart numbering of an ordered list at the target item.",
|
|
12636
12724
|
"parameters": {
|
|
12637
|
-
"
|
|
12725
|
+
"type": "object",
|
|
12638
12726
|
"properties": {
|
|
12727
|
+
"doc": {
|
|
12728
|
+
"type": "string"
|
|
12729
|
+
},
|
|
12730
|
+
"sessionId": {
|
|
12731
|
+
"type": "string"
|
|
12732
|
+
},
|
|
12733
|
+
"force": {
|
|
12734
|
+
"type": "boolean"
|
|
12735
|
+
},
|
|
12639
12736
|
"target": {
|
|
12640
|
-
"
|
|
12737
|
+
"type": "object",
|
|
12641
12738
|
"properties": {
|
|
12642
12739
|
"kind": {
|
|
12643
12740
|
"const": "block"
|
|
12644
12741
|
},
|
|
12645
|
-
"nodeId": {
|
|
12646
|
-
"type": "string"
|
|
12647
|
-
},
|
|
12648
12742
|
"nodeType": {
|
|
12649
12743
|
"const": "listItem"
|
|
12744
|
+
},
|
|
12745
|
+
"nodeId": {
|
|
12746
|
+
"type": "string"
|
|
12650
12747
|
}
|
|
12651
12748
|
},
|
|
12652
12749
|
"required": [
|
|
12653
12750
|
"kind",
|
|
12654
12751
|
"nodeType",
|
|
12655
12752
|
"nodeId"
|
|
12656
|
-
]
|
|
12657
|
-
|
|
12658
|
-
|
|
12753
|
+
]
|
|
12754
|
+
},
|
|
12755
|
+
"nodeId": {
|
|
12756
|
+
"type": "string"
|
|
12757
|
+
},
|
|
12758
|
+
"input": {}
|
|
12659
12759
|
},
|
|
12660
|
-
"
|
|
12661
|
-
"target"
|
|
12662
|
-
],
|
|
12663
|
-
"type": "object"
|
|
12760
|
+
"additionalProperties": false
|
|
12664
12761
|
},
|
|
12665
12762
|
"returns": {
|
|
12666
12763
|
"additionalProperties": false,
|
|
@@ -12723,33 +12820,42 @@
|
|
|
12723
12820
|
"name": "doc_lists_exit",
|
|
12724
12821
|
"description": "Exit a list context, converting the target item to a paragraph.",
|
|
12725
12822
|
"parameters": {
|
|
12726
|
-
"
|
|
12823
|
+
"type": "object",
|
|
12727
12824
|
"properties": {
|
|
12825
|
+
"doc": {
|
|
12826
|
+
"type": "string"
|
|
12827
|
+
},
|
|
12828
|
+
"sessionId": {
|
|
12829
|
+
"type": "string"
|
|
12830
|
+
},
|
|
12831
|
+
"force": {
|
|
12832
|
+
"type": "boolean"
|
|
12833
|
+
},
|
|
12728
12834
|
"target": {
|
|
12729
|
-
"
|
|
12835
|
+
"type": "object",
|
|
12730
12836
|
"properties": {
|
|
12731
12837
|
"kind": {
|
|
12732
12838
|
"const": "block"
|
|
12733
12839
|
},
|
|
12734
|
-
"nodeId": {
|
|
12735
|
-
"type": "string"
|
|
12736
|
-
},
|
|
12737
12840
|
"nodeType": {
|
|
12738
12841
|
"const": "listItem"
|
|
12842
|
+
},
|
|
12843
|
+
"nodeId": {
|
|
12844
|
+
"type": "string"
|
|
12739
12845
|
}
|
|
12740
12846
|
},
|
|
12741
12847
|
"required": [
|
|
12742
12848
|
"kind",
|
|
12743
12849
|
"nodeType",
|
|
12744
12850
|
"nodeId"
|
|
12745
|
-
]
|
|
12746
|
-
|
|
12747
|
-
|
|
12851
|
+
]
|
|
12852
|
+
},
|
|
12853
|
+
"nodeId": {
|
|
12854
|
+
"type": "string"
|
|
12855
|
+
},
|
|
12856
|
+
"input": {}
|
|
12748
12857
|
},
|
|
12749
|
-
"
|
|
12750
|
-
"target"
|
|
12751
|
-
],
|
|
12752
|
-
"type": "object"
|
|
12858
|
+
"additionalProperties": false
|
|
12753
12859
|
},
|
|
12754
12860
|
"returns": {
|
|
12755
12861
|
"additionalProperties": false,
|
|
@@ -12812,50 +12918,65 @@
|
|
|
12812
12918
|
"name": "doc_comments_add",
|
|
12813
12919
|
"description": "Add a new comment thread anchored to a target range.",
|
|
12814
12920
|
"parameters": {
|
|
12815
|
-
"
|
|
12921
|
+
"type": "object",
|
|
12816
12922
|
"properties": {
|
|
12923
|
+
"doc": {
|
|
12924
|
+
"type": "string"
|
|
12925
|
+
},
|
|
12926
|
+
"sessionId": {
|
|
12927
|
+
"type": "string"
|
|
12928
|
+
},
|
|
12929
|
+
"force": {
|
|
12930
|
+
"type": "boolean"
|
|
12931
|
+
},
|
|
12817
12932
|
"target": {
|
|
12818
|
-
"
|
|
12933
|
+
"type": "object",
|
|
12819
12934
|
"properties": {
|
|
12820
|
-
"blockId": {
|
|
12821
|
-
"type": "string"
|
|
12822
|
-
},
|
|
12823
12935
|
"kind": {
|
|
12824
12936
|
"const": "text"
|
|
12825
12937
|
},
|
|
12938
|
+
"blockId": {
|
|
12939
|
+
"type": "string"
|
|
12940
|
+
},
|
|
12826
12941
|
"range": {
|
|
12827
|
-
"
|
|
12942
|
+
"type": "object",
|
|
12828
12943
|
"properties": {
|
|
12829
|
-
"end": {
|
|
12830
|
-
"type": "integer"
|
|
12831
|
-
},
|
|
12832
12944
|
"start": {
|
|
12833
|
-
"type": "
|
|
12945
|
+
"type": "number"
|
|
12946
|
+
},
|
|
12947
|
+
"end": {
|
|
12948
|
+
"type": "number"
|
|
12834
12949
|
}
|
|
12835
12950
|
},
|
|
12836
12951
|
"required": [
|
|
12837
12952
|
"start",
|
|
12838
12953
|
"end"
|
|
12839
|
-
]
|
|
12840
|
-
"type": "object"
|
|
12954
|
+
]
|
|
12841
12955
|
}
|
|
12842
12956
|
},
|
|
12843
12957
|
"required": [
|
|
12844
12958
|
"kind",
|
|
12845
12959
|
"blockId",
|
|
12846
12960
|
"range"
|
|
12847
|
-
]
|
|
12848
|
-
"type": "object"
|
|
12961
|
+
]
|
|
12849
12962
|
},
|
|
12850
12963
|
"text": {
|
|
12851
12964
|
"type": "string"
|
|
12965
|
+
},
|
|
12966
|
+
"blockId": {
|
|
12967
|
+
"type": "string"
|
|
12968
|
+
},
|
|
12969
|
+
"start": {
|
|
12970
|
+
"type": "number"
|
|
12971
|
+
},
|
|
12972
|
+
"end": {
|
|
12973
|
+
"type": "number"
|
|
12852
12974
|
}
|
|
12853
12975
|
},
|
|
12854
12976
|
"required": [
|
|
12855
|
-
"target",
|
|
12856
12977
|
"text"
|
|
12857
12978
|
],
|
|
12858
|
-
"
|
|
12979
|
+
"additionalProperties": false
|
|
12859
12980
|
},
|
|
12860
12981
|
"returns": {
|
|
12861
12982
|
"additionalProperties": false,
|
|
@@ -13038,9 +13159,18 @@
|
|
|
13038
13159
|
"name": "doc_comments_edit",
|
|
13039
13160
|
"description": "Edit the content of an existing comment.",
|
|
13040
13161
|
"parameters": {
|
|
13041
|
-
"
|
|
13162
|
+
"type": "object",
|
|
13042
13163
|
"properties": {
|
|
13043
|
-
"
|
|
13164
|
+
"doc": {
|
|
13165
|
+
"type": "string"
|
|
13166
|
+
},
|
|
13167
|
+
"sessionId": {
|
|
13168
|
+
"type": "string"
|
|
13169
|
+
},
|
|
13170
|
+
"force": {
|
|
13171
|
+
"type": "boolean"
|
|
13172
|
+
},
|
|
13173
|
+
"id": {
|
|
13044
13174
|
"type": "string"
|
|
13045
13175
|
},
|
|
13046
13176
|
"text": {
|
|
@@ -13048,10 +13178,10 @@
|
|
|
13048
13178
|
}
|
|
13049
13179
|
},
|
|
13050
13180
|
"required": [
|
|
13051
|
-
"
|
|
13181
|
+
"id",
|
|
13052
13182
|
"text"
|
|
13053
13183
|
],
|
|
13054
|
-
"
|
|
13184
|
+
"additionalProperties": false
|
|
13055
13185
|
},
|
|
13056
13186
|
"returns": {
|
|
13057
13187
|
"additionalProperties": false,
|
|
@@ -13234,9 +13364,18 @@
|
|
|
13234
13364
|
"name": "doc_comments_reply",
|
|
13235
13365
|
"description": "Add a reply to an existing comment thread.",
|
|
13236
13366
|
"parameters": {
|
|
13237
|
-
"
|
|
13367
|
+
"type": "object",
|
|
13238
13368
|
"properties": {
|
|
13239
|
-
"
|
|
13369
|
+
"doc": {
|
|
13370
|
+
"type": "string"
|
|
13371
|
+
},
|
|
13372
|
+
"sessionId": {
|
|
13373
|
+
"type": "string"
|
|
13374
|
+
},
|
|
13375
|
+
"force": {
|
|
13376
|
+
"type": "boolean"
|
|
13377
|
+
},
|
|
13378
|
+
"parentId": {
|
|
13240
13379
|
"type": "string"
|
|
13241
13380
|
},
|
|
13242
13381
|
"text": {
|
|
@@ -13244,10 +13383,10 @@
|
|
|
13244
13383
|
}
|
|
13245
13384
|
},
|
|
13246
13385
|
"required": [
|
|
13247
|
-
"
|
|
13386
|
+
"parentId",
|
|
13248
13387
|
"text"
|
|
13249
13388
|
],
|
|
13250
|
-
"
|
|
13389
|
+
"additionalProperties": false
|
|
13251
13390
|
},
|
|
13252
13391
|
"returns": {
|
|
13253
13392
|
"additionalProperties": false,
|
|
@@ -13430,50 +13569,65 @@
|
|
|
13430
13569
|
"name": "doc_comments_move",
|
|
13431
13570
|
"description": "Move a comment thread to a new anchor range.",
|
|
13432
13571
|
"parameters": {
|
|
13433
|
-
"
|
|
13572
|
+
"type": "object",
|
|
13434
13573
|
"properties": {
|
|
13435
|
-
"
|
|
13574
|
+
"doc": {
|
|
13575
|
+
"type": "string"
|
|
13576
|
+
},
|
|
13577
|
+
"sessionId": {
|
|
13578
|
+
"type": "string"
|
|
13579
|
+
},
|
|
13580
|
+
"force": {
|
|
13581
|
+
"type": "boolean"
|
|
13582
|
+
},
|
|
13583
|
+
"id": {
|
|
13436
13584
|
"type": "string"
|
|
13437
13585
|
},
|
|
13438
13586
|
"target": {
|
|
13439
|
-
"
|
|
13587
|
+
"type": "object",
|
|
13440
13588
|
"properties": {
|
|
13441
|
-
"blockId": {
|
|
13442
|
-
"type": "string"
|
|
13443
|
-
},
|
|
13444
13589
|
"kind": {
|
|
13445
13590
|
"const": "text"
|
|
13446
13591
|
},
|
|
13592
|
+
"blockId": {
|
|
13593
|
+
"type": "string"
|
|
13594
|
+
},
|
|
13447
13595
|
"range": {
|
|
13448
|
-
"
|
|
13596
|
+
"type": "object",
|
|
13449
13597
|
"properties": {
|
|
13450
|
-
"end": {
|
|
13451
|
-
"type": "integer"
|
|
13452
|
-
},
|
|
13453
13598
|
"start": {
|
|
13454
|
-
"type": "
|
|
13599
|
+
"type": "number"
|
|
13600
|
+
},
|
|
13601
|
+
"end": {
|
|
13602
|
+
"type": "number"
|
|
13455
13603
|
}
|
|
13456
13604
|
},
|
|
13457
13605
|
"required": [
|
|
13458
13606
|
"start",
|
|
13459
13607
|
"end"
|
|
13460
|
-
]
|
|
13461
|
-
"type": "object"
|
|
13608
|
+
]
|
|
13462
13609
|
}
|
|
13463
13610
|
},
|
|
13464
13611
|
"required": [
|
|
13465
13612
|
"kind",
|
|
13466
13613
|
"blockId",
|
|
13467
13614
|
"range"
|
|
13468
|
-
]
|
|
13469
|
-
|
|
13615
|
+
]
|
|
13616
|
+
},
|
|
13617
|
+
"blockId": {
|
|
13618
|
+
"type": "string"
|
|
13619
|
+
},
|
|
13620
|
+
"start": {
|
|
13621
|
+
"type": "number"
|
|
13622
|
+
},
|
|
13623
|
+
"end": {
|
|
13624
|
+
"type": "number"
|
|
13470
13625
|
}
|
|
13471
13626
|
},
|
|
13472
13627
|
"required": [
|
|
13473
|
-
"
|
|
13474
|
-
"target"
|
|
13628
|
+
"id"
|
|
13475
13629
|
],
|
|
13476
|
-
"
|
|
13630
|
+
"additionalProperties": false
|
|
13477
13631
|
},
|
|
13478
13632
|
"returns": {
|
|
13479
13633
|
"additionalProperties": false,
|
|
@@ -13656,16 +13810,25 @@
|
|
|
13656
13810
|
"name": "doc_comments_resolve",
|
|
13657
13811
|
"description": "Resolve or unresolve a comment thread.",
|
|
13658
13812
|
"parameters": {
|
|
13659
|
-
"
|
|
13813
|
+
"type": "object",
|
|
13660
13814
|
"properties": {
|
|
13661
|
-
"
|
|
13815
|
+
"doc": {
|
|
13816
|
+
"type": "string"
|
|
13817
|
+
},
|
|
13818
|
+
"sessionId": {
|
|
13819
|
+
"type": "string"
|
|
13820
|
+
},
|
|
13821
|
+
"force": {
|
|
13822
|
+
"type": "boolean"
|
|
13823
|
+
},
|
|
13824
|
+
"id": {
|
|
13662
13825
|
"type": "string"
|
|
13663
13826
|
}
|
|
13664
13827
|
},
|
|
13665
13828
|
"required": [
|
|
13666
|
-
"
|
|
13829
|
+
"id"
|
|
13667
13830
|
],
|
|
13668
|
-
"
|
|
13831
|
+
"additionalProperties": false
|
|
13669
13832
|
},
|
|
13670
13833
|
"returns": {
|
|
13671
13834
|
"additionalProperties": false,
|
|
@@ -13848,16 +14011,25 @@
|
|
|
13848
14011
|
"name": "doc_comments_remove",
|
|
13849
14012
|
"description": "Remove a comment or reply by ID.",
|
|
13850
14013
|
"parameters": {
|
|
13851
|
-
"
|
|
14014
|
+
"type": "object",
|
|
13852
14015
|
"properties": {
|
|
13853
|
-
"
|
|
14016
|
+
"doc": {
|
|
14017
|
+
"type": "string"
|
|
14018
|
+
},
|
|
14019
|
+
"sessionId": {
|
|
14020
|
+
"type": "string"
|
|
14021
|
+
},
|
|
14022
|
+
"force": {
|
|
14023
|
+
"type": "boolean"
|
|
14024
|
+
},
|
|
14025
|
+
"id": {
|
|
13854
14026
|
"type": "string"
|
|
13855
14027
|
}
|
|
13856
14028
|
},
|
|
13857
14029
|
"required": [
|
|
13858
|
-
"
|
|
14030
|
+
"id"
|
|
13859
14031
|
],
|
|
13860
|
-
"
|
|
14032
|
+
"additionalProperties": false
|
|
13861
14033
|
},
|
|
13862
14034
|
"returns": {
|
|
13863
14035
|
"additionalProperties": false,
|
|
@@ -14040,9 +14212,18 @@
|
|
|
14040
14212
|
"name": "doc_comments_setInternal",
|
|
14041
14213
|
"description": "Toggle the internal (private) flag on a comment thread.",
|
|
14042
14214
|
"parameters": {
|
|
14043
|
-
"
|
|
14215
|
+
"type": "object",
|
|
14044
14216
|
"properties": {
|
|
14045
|
-
"
|
|
14217
|
+
"doc": {
|
|
14218
|
+
"type": "string"
|
|
14219
|
+
},
|
|
14220
|
+
"sessionId": {
|
|
14221
|
+
"type": "string"
|
|
14222
|
+
},
|
|
14223
|
+
"force": {
|
|
14224
|
+
"type": "boolean"
|
|
14225
|
+
},
|
|
14226
|
+
"id": {
|
|
14046
14227
|
"type": "string"
|
|
14047
14228
|
},
|
|
14048
14229
|
"isInternal": {
|
|
@@ -14050,10 +14231,10 @@
|
|
|
14050
14231
|
}
|
|
14051
14232
|
},
|
|
14052
14233
|
"required": [
|
|
14053
|
-
"
|
|
14234
|
+
"id",
|
|
14054
14235
|
"isInternal"
|
|
14055
14236
|
],
|
|
14056
|
-
"
|
|
14237
|
+
"additionalProperties": false
|
|
14057
14238
|
},
|
|
14058
14239
|
"returns": {
|
|
14059
14240
|
"additionalProperties": false,
|
|
@@ -14236,19 +14417,28 @@
|
|
|
14236
14417
|
"name": "doc_comments_setActive",
|
|
14237
14418
|
"description": "Set the active (focused) comment thread for UI highlighting.",
|
|
14238
14419
|
"parameters": {
|
|
14239
|
-
"
|
|
14420
|
+
"type": "object",
|
|
14240
14421
|
"properties": {
|
|
14422
|
+
"doc": {
|
|
14423
|
+
"type": "string"
|
|
14424
|
+
},
|
|
14425
|
+
"sessionId": {
|
|
14426
|
+
"type": "string"
|
|
14427
|
+
},
|
|
14428
|
+
"force": {
|
|
14429
|
+
"type": "boolean"
|
|
14430
|
+
},
|
|
14241
14431
|
"commentId": {
|
|
14242
|
-
"type":
|
|
14243
|
-
|
|
14244
|
-
|
|
14245
|
-
|
|
14432
|
+
"type": "json"
|
|
14433
|
+
},
|
|
14434
|
+
"id": {
|
|
14435
|
+
"type": "string"
|
|
14436
|
+
},
|
|
14437
|
+
"clear": {
|
|
14438
|
+
"type": "boolean"
|
|
14246
14439
|
}
|
|
14247
14440
|
},
|
|
14248
|
-
"
|
|
14249
|
-
"commentId"
|
|
14250
|
-
],
|
|
14251
|
-
"type": "object"
|
|
14441
|
+
"additionalProperties": false
|
|
14252
14442
|
},
|
|
14253
14443
|
"returns": {
|
|
14254
14444
|
"additionalProperties": false,
|
|
@@ -14445,16 +14635,22 @@
|
|
|
14445
14635
|
"name": "doc_comments_goTo",
|
|
14446
14636
|
"description": "Scroll the viewport to a comment thread by ID.",
|
|
14447
14637
|
"parameters": {
|
|
14448
|
-
"
|
|
14638
|
+
"type": "object",
|
|
14449
14639
|
"properties": {
|
|
14450
|
-
"
|
|
14640
|
+
"doc": {
|
|
14641
|
+
"type": "string"
|
|
14642
|
+
},
|
|
14643
|
+
"sessionId": {
|
|
14644
|
+
"type": "string"
|
|
14645
|
+
},
|
|
14646
|
+
"id": {
|
|
14451
14647
|
"type": "string"
|
|
14452
14648
|
}
|
|
14453
14649
|
},
|
|
14454
14650
|
"required": [
|
|
14455
|
-
"
|
|
14651
|
+
"id"
|
|
14456
14652
|
],
|
|
14457
|
-
"
|
|
14653
|
+
"additionalProperties": false
|
|
14458
14654
|
},
|
|
14459
14655
|
"returns": {
|
|
14460
14656
|
"additionalProperties": false,
|
|
@@ -14634,16 +14830,22 @@
|
|
|
14634
14830
|
"name": "doc_comments_get",
|
|
14635
14831
|
"description": "Retrieve a single comment thread by ID.",
|
|
14636
14832
|
"parameters": {
|
|
14637
|
-
"
|
|
14833
|
+
"type": "object",
|
|
14638
14834
|
"properties": {
|
|
14639
|
-
"
|
|
14835
|
+
"doc": {
|
|
14836
|
+
"type": "string"
|
|
14837
|
+
},
|
|
14838
|
+
"sessionId": {
|
|
14839
|
+
"type": "string"
|
|
14840
|
+
},
|
|
14841
|
+
"id": {
|
|
14640
14842
|
"type": "string"
|
|
14641
14843
|
}
|
|
14642
14844
|
},
|
|
14643
14845
|
"required": [
|
|
14644
|
-
"
|
|
14846
|
+
"id"
|
|
14645
14847
|
],
|
|
14646
|
-
"
|
|
14848
|
+
"additionalProperties": false
|
|
14647
14849
|
},
|
|
14648
14850
|
"returns": {
|
|
14649
14851
|
"additionalProperties": false,
|
|
@@ -14764,13 +14966,19 @@
|
|
|
14764
14966
|
"name": "doc_comments_list",
|
|
14765
14967
|
"description": "List all comment threads in the document.",
|
|
14766
14968
|
"parameters": {
|
|
14767
|
-
"
|
|
14969
|
+
"type": "object",
|
|
14768
14970
|
"properties": {
|
|
14971
|
+
"doc": {
|
|
14972
|
+
"type": "string"
|
|
14973
|
+
},
|
|
14974
|
+
"sessionId": {
|
|
14975
|
+
"type": "string"
|
|
14976
|
+
},
|
|
14769
14977
|
"includeResolved": {
|
|
14770
14978
|
"type": "boolean"
|
|
14771
14979
|
}
|
|
14772
14980
|
},
|
|
14773
|
-
"
|
|
14981
|
+
"additionalProperties": false
|
|
14774
14982
|
},
|
|
14775
14983
|
"returns": {
|
|
14776
14984
|
"additionalProperties": false,
|
|
@@ -14907,23 +15115,25 @@
|
|
|
14907
15115
|
"name": "doc_trackChanges_list",
|
|
14908
15116
|
"description": "List all tracked changes in the document.",
|
|
14909
15117
|
"parameters": {
|
|
14910
|
-
"
|
|
15118
|
+
"type": "object",
|
|
14911
15119
|
"properties": {
|
|
15120
|
+
"doc": {
|
|
15121
|
+
"type": "string"
|
|
15122
|
+
},
|
|
15123
|
+
"sessionId": {
|
|
15124
|
+
"type": "string"
|
|
15125
|
+
},
|
|
14912
15126
|
"limit": {
|
|
14913
|
-
"type": "
|
|
15127
|
+
"type": "number"
|
|
14914
15128
|
},
|
|
14915
15129
|
"offset": {
|
|
14916
|
-
"type": "
|
|
15130
|
+
"type": "number"
|
|
14917
15131
|
},
|
|
14918
15132
|
"type": {
|
|
14919
|
-
"
|
|
14920
|
-
"insert",
|
|
14921
|
-
"delete",
|
|
14922
|
-
"format"
|
|
14923
|
-
]
|
|
15133
|
+
"type": "string"
|
|
14924
15134
|
}
|
|
14925
15135
|
},
|
|
14926
|
-
"
|
|
15136
|
+
"additionalProperties": false
|
|
14927
15137
|
},
|
|
14928
15138
|
"returns": {
|
|
14929
15139
|
"additionalProperties": false,
|
|
@@ -15045,8 +15255,14 @@
|
|
|
15045
15255
|
"name": "doc_trackChanges_get",
|
|
15046
15256
|
"description": "Retrieve a single tracked change by ID.",
|
|
15047
15257
|
"parameters": {
|
|
15048
|
-
"
|
|
15258
|
+
"type": "object",
|
|
15049
15259
|
"properties": {
|
|
15260
|
+
"doc": {
|
|
15261
|
+
"type": "string"
|
|
15262
|
+
},
|
|
15263
|
+
"sessionId": {
|
|
15264
|
+
"type": "string"
|
|
15265
|
+
},
|
|
15050
15266
|
"id": {
|
|
15051
15267
|
"type": "string"
|
|
15052
15268
|
}
|
|
@@ -15054,7 +15270,7 @@
|
|
|
15054
15270
|
"required": [
|
|
15055
15271
|
"id"
|
|
15056
15272
|
],
|
|
15057
|
-
"
|
|
15273
|
+
"additionalProperties": false
|
|
15058
15274
|
},
|
|
15059
15275
|
"returns": {
|
|
15060
15276
|
"additionalProperties": false,
|
|
@@ -15137,8 +15353,17 @@
|
|
|
15137
15353
|
"name": "doc_trackChanges_accept",
|
|
15138
15354
|
"description": "Accept a tracked change, applying it permanently.",
|
|
15139
15355
|
"parameters": {
|
|
15140
|
-
"
|
|
15356
|
+
"type": "object",
|
|
15141
15357
|
"properties": {
|
|
15358
|
+
"doc": {
|
|
15359
|
+
"type": "string"
|
|
15360
|
+
},
|
|
15361
|
+
"sessionId": {
|
|
15362
|
+
"type": "string"
|
|
15363
|
+
},
|
|
15364
|
+
"force": {
|
|
15365
|
+
"type": "boolean"
|
|
15366
|
+
},
|
|
15142
15367
|
"id": {
|
|
15143
15368
|
"type": "string"
|
|
15144
15369
|
}
|
|
@@ -15146,7 +15371,7 @@
|
|
|
15146
15371
|
"required": [
|
|
15147
15372
|
"id"
|
|
15148
15373
|
],
|
|
15149
|
-
"
|
|
15374
|
+
"additionalProperties": false
|
|
15150
15375
|
},
|
|
15151
15376
|
"returns": {
|
|
15152
15377
|
"additionalProperties": false,
|
|
@@ -15329,8 +15554,17 @@
|
|
|
15329
15554
|
"name": "doc_trackChanges_reject",
|
|
15330
15555
|
"description": "Reject a tracked change, reverting it.",
|
|
15331
15556
|
"parameters": {
|
|
15332
|
-
"
|
|
15557
|
+
"type": "object",
|
|
15333
15558
|
"properties": {
|
|
15559
|
+
"doc": {
|
|
15560
|
+
"type": "string"
|
|
15561
|
+
},
|
|
15562
|
+
"sessionId": {
|
|
15563
|
+
"type": "string"
|
|
15564
|
+
},
|
|
15565
|
+
"force": {
|
|
15566
|
+
"type": "boolean"
|
|
15567
|
+
},
|
|
15334
15568
|
"id": {
|
|
15335
15569
|
"type": "string"
|
|
15336
15570
|
}
|
|
@@ -15338,7 +15572,7 @@
|
|
|
15338
15572
|
"required": [
|
|
15339
15573
|
"id"
|
|
15340
15574
|
],
|
|
15341
|
-
"
|
|
15575
|
+
"additionalProperties": false
|
|
15342
15576
|
},
|
|
15343
15577
|
"returns": {
|
|
15344
15578
|
"additionalProperties": false,
|
|
@@ -15521,9 +15755,19 @@
|
|
|
15521
15755
|
"name": "doc_trackChanges_acceptAll",
|
|
15522
15756
|
"description": "Accept all tracked changes in the document.",
|
|
15523
15757
|
"parameters": {
|
|
15524
|
-
"
|
|
15525
|
-
"properties": {
|
|
15526
|
-
|
|
15758
|
+
"type": "object",
|
|
15759
|
+
"properties": {
|
|
15760
|
+
"doc": {
|
|
15761
|
+
"type": "string"
|
|
15762
|
+
},
|
|
15763
|
+
"sessionId": {
|
|
15764
|
+
"type": "string"
|
|
15765
|
+
},
|
|
15766
|
+
"force": {
|
|
15767
|
+
"type": "boolean"
|
|
15768
|
+
}
|
|
15769
|
+
},
|
|
15770
|
+
"additionalProperties": false
|
|
15527
15771
|
},
|
|
15528
15772
|
"returns": {
|
|
15529
15773
|
"additionalProperties": false,
|
|
@@ -15706,9 +15950,19 @@
|
|
|
15706
15950
|
"name": "doc_trackChanges_rejectAll",
|
|
15707
15951
|
"description": "Reject all tracked changes in the document.",
|
|
15708
15952
|
"parameters": {
|
|
15709
|
-
"
|
|
15710
|
-
"properties": {
|
|
15711
|
-
|
|
15953
|
+
"type": "object",
|
|
15954
|
+
"properties": {
|
|
15955
|
+
"doc": {
|
|
15956
|
+
"type": "string"
|
|
15957
|
+
},
|
|
15958
|
+
"sessionId": {
|
|
15959
|
+
"type": "string"
|
|
15960
|
+
},
|
|
15961
|
+
"force": {
|
|
15962
|
+
"type": "boolean"
|
|
15963
|
+
}
|
|
15964
|
+
},
|
|
15965
|
+
"additionalProperties": false
|
|
15712
15966
|
},
|
|
15713
15967
|
"returns": {
|
|
15714
15968
|
"additionalProperties": false,
|