@superdoc/sdk 2.0.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -134
- package/dist/agent/actions.cjs +183 -1
- package/dist/agent/actions.d.ts +8 -2
- package/dist/agent/actions.js +183 -1
- package/dist/embedded-prompts.generated.cjs +1 -1
- package/dist/embedded-prompts.generated.js +1 -1
- package/dist/embedded-tools.generated.cjs +6 -6
- package/dist/embedded-tools.generated.js +6 -6
- package/dist/generated/client.d.ts +426 -0
- package/dist/generated/contract.cjs +1014 -154
- package/dist/generated/contract.js +1020 -154
- package/dist/prompts/system-prompt.md +2 -1
- package/dist/runtime/transport-common.cjs +10 -4
- package/dist/runtime/transport-common.js +10 -4
- package/package.json +17 -6
- package/tools/catalog.json +38 -1
- package/tools/tools-policy.json +1 -1
- package/tools/tools.anthropic.json +38 -1
- package/tools/tools.generic.json +38 -1
- package/tools/tools.openai.json +38 -1
- package/tools/tools.vercel.json +38 -1
|
@@ -136697,7 +136697,7 @@ const CONTRACT = {
|
|
|
136697
136697
|
"create"
|
|
136698
136698
|
],
|
|
136699
136699
|
"category": "comments",
|
|
136700
|
-
"description": "Create a new comment thread (or reply when parentCommentId is given). Accepts TextAddress / TextTarget anchors, or a TrackedChangeCommentTarget that names a logical tracked-change id. The tracked-change target accepts both the explicit kind form and the Labs-compatible trackedChangeId-only form; the adapter normalizes it to a Word-compatible content anchor on the requested revision side.",
|
|
136700
|
+
"description": "Create a new comment thread (or reply when parentCommentId is given). Accepts TextAddress / TextTarget anchors, or a TrackedChangeCommentTarget that names a logical tracked-change id. The tracked-change target accepts both the explicit kind form and the Labs-compatible trackedChangeId-only form; the adapter normalizes it to a Word-compatible content anchor on the requested revision side. Callers may supply a durable externalId, or use the v1-compatible caller-supplied commentId alias, plus author fields and arbitrary JSON metadata for integration correlation. The caller-owned id remains distinct from the generated Word-compatible commentId.",
|
|
136701
136701
|
"requiresDocumentContext": true,
|
|
136702
136702
|
"docRequirement": "optional",
|
|
136703
136703
|
"responseEnvelopeKey": "receipt",
|
|
@@ -138867,6 +138867,59 @@ const CONTRACT = {
|
|
|
138867
138867
|
"flag": "parent-id",
|
|
138868
138868
|
"description": "Parent comment ID for creating a threaded reply."
|
|
138869
138869
|
},
|
|
138870
|
+
{
|
|
138871
|
+
"name": "commentId",
|
|
138872
|
+
"kind": "flag",
|
|
138873
|
+
"type": "string",
|
|
138874
|
+
"flag": "comment-id",
|
|
138875
|
+
"description": "Compatibility alias for externalId, matching the caller-supplied commentId accepted by the v1 editor. V2 still generates a separate Word-compatible commentId."
|
|
138876
|
+
},
|
|
138877
|
+
{
|
|
138878
|
+
"name": "externalId",
|
|
138879
|
+
"kind": "flag",
|
|
138880
|
+
"type": "string",
|
|
138881
|
+
"flag": "external-id",
|
|
138882
|
+
"description": "Caller-owned durable, document-unique integration id. Kept separate from the generated Word-compatible commentId."
|
|
138883
|
+
},
|
|
138884
|
+
{
|
|
138885
|
+
"name": "author",
|
|
138886
|
+
"kind": "flag",
|
|
138887
|
+
"type": "string",
|
|
138888
|
+
"description": "Author display name. Defaults to the configured session author."
|
|
138889
|
+
},
|
|
138890
|
+
{
|
|
138891
|
+
"name": "authorId",
|
|
138892
|
+
"kind": "flag",
|
|
138893
|
+
"type": "string",
|
|
138894
|
+
"flag": "author-id",
|
|
138895
|
+
"description": "Stable caller-owned author id."
|
|
138896
|
+
},
|
|
138897
|
+
{
|
|
138898
|
+
"name": "authorEmail",
|
|
138899
|
+
"kind": "flag",
|
|
138900
|
+
"type": "string",
|
|
138901
|
+
"flag": "author-email",
|
|
138902
|
+
"description": "Caller-owned author email."
|
|
138903
|
+
},
|
|
138904
|
+
{
|
|
138905
|
+
"name": "authorImage",
|
|
138906
|
+
"kind": "flag",
|
|
138907
|
+
"type": "string",
|
|
138908
|
+
"flag": "author-image",
|
|
138909
|
+
"description": "Caller-owned author image URL."
|
|
138910
|
+
},
|
|
138911
|
+
{
|
|
138912
|
+
"name": "metadata",
|
|
138913
|
+
"kind": "jsonFlag",
|
|
138914
|
+
"type": "json",
|
|
138915
|
+
"flag": "metadata-json",
|
|
138916
|
+
"schema": {
|
|
138917
|
+
"type": "object",
|
|
138918
|
+
"properties": {},
|
|
138919
|
+
"description": "Caller-owned JSON metadata persisted with the comment."
|
|
138920
|
+
},
|
|
138921
|
+
"description": "Caller-owned JSON metadata persisted with the comment."
|
|
138922
|
+
},
|
|
138870
138923
|
{
|
|
138871
138924
|
"name": "blockId",
|
|
138872
138925
|
"kind": "flag",
|
|
@@ -138959,6 +139012,43 @@ const CONTRACT = {
|
|
|
138959
139012
|
"parentId": {
|
|
138960
139013
|
"type": "string",
|
|
138961
139014
|
"description": "Public alias for parentCommentId when creating a threaded reply."
|
|
139015
|
+
},
|
|
139016
|
+
"commentId": {
|
|
139017
|
+
"type": "string",
|
|
139018
|
+
"minLength": 1,
|
|
139019
|
+
"maxLength": 1024,
|
|
139020
|
+
"description": "Compatibility alias for externalId, matching the caller-supplied commentId accepted by the v1 editor. V2 still generates a separate Word-compatible commentId."
|
|
139021
|
+
},
|
|
139022
|
+
"externalId": {
|
|
139023
|
+
"type": "string",
|
|
139024
|
+
"minLength": 1,
|
|
139025
|
+
"maxLength": 1024,
|
|
139026
|
+
"description": "Caller-owned durable, document-unique integration id. Kept separate from the generated Word-compatible commentId."
|
|
139027
|
+
},
|
|
139028
|
+
"author": {
|
|
139029
|
+
"type": "string",
|
|
139030
|
+
"minLength": 1,
|
|
139031
|
+
"description": "Author display name. Defaults to the configured session author."
|
|
139032
|
+
},
|
|
139033
|
+
"authorId": {
|
|
139034
|
+
"type": "string",
|
|
139035
|
+
"minLength": 1,
|
|
139036
|
+
"description": "Stable caller-owned author id."
|
|
139037
|
+
},
|
|
139038
|
+
"authorEmail": {
|
|
139039
|
+
"type": "string",
|
|
139040
|
+
"minLength": 1,
|
|
139041
|
+
"description": "Caller-owned author email."
|
|
139042
|
+
},
|
|
139043
|
+
"authorImage": {
|
|
139044
|
+
"type": "string",
|
|
139045
|
+
"minLength": 1,
|
|
139046
|
+
"description": "Caller-owned author image URL."
|
|
139047
|
+
},
|
|
139048
|
+
"metadata": {
|
|
139049
|
+
"type": "object",
|
|
139050
|
+
"additionalProperties": true,
|
|
139051
|
+
"description": "Caller-owned JSON metadata persisted with the comment."
|
|
138962
139052
|
}
|
|
138963
139053
|
},
|
|
138964
139054
|
"additionalProperties": false,
|
|
@@ -141215,6 +141305,15 @@ const CONTRACT = {
|
|
|
141215
141305
|
"commentId": {
|
|
141216
141306
|
"type": "string"
|
|
141217
141307
|
},
|
|
141308
|
+
"externalId": {
|
|
141309
|
+
"type": "string",
|
|
141310
|
+
"description": "Caller-owned durable integration id, distinct from the Word-compatible commentId."
|
|
141311
|
+
},
|
|
141312
|
+
"metadata": {
|
|
141313
|
+
"type": "object",
|
|
141314
|
+
"additionalProperties": true,
|
|
141315
|
+
"description": "Caller-owned JSON metadata persisted with the comment."
|
|
141316
|
+
},
|
|
141218
141317
|
"importedId": {
|
|
141219
141318
|
"type": "string"
|
|
141220
141319
|
},
|
|
@@ -141270,9 +141369,15 @@ const CONTRACT = {
|
|
|
141270
141369
|
"creatorName": {
|
|
141271
141370
|
"type": "string"
|
|
141272
141371
|
},
|
|
141372
|
+
"creatorId": {
|
|
141373
|
+
"type": "string"
|
|
141374
|
+
},
|
|
141273
141375
|
"creatorEmail": {
|
|
141274
141376
|
"type": "string"
|
|
141275
141377
|
},
|
|
141378
|
+
"creatorImage": {
|
|
141379
|
+
"type": "string"
|
|
141380
|
+
},
|
|
141276
141381
|
"trackedChange": {
|
|
141277
141382
|
"type": "boolean"
|
|
141278
141383
|
},
|
|
@@ -141444,6 +141549,15 @@ const CONTRACT = {
|
|
|
141444
141549
|
"address": {
|
|
141445
141550
|
"$ref": "#/$defs/CommentAddress"
|
|
141446
141551
|
},
|
|
141552
|
+
"externalId": {
|
|
141553
|
+
"type": "string",
|
|
141554
|
+
"description": "Caller-owned durable integration id, distinct from the Word-compatible comment id."
|
|
141555
|
+
},
|
|
141556
|
+
"metadata": {
|
|
141557
|
+
"type": "object",
|
|
141558
|
+
"additionalProperties": true,
|
|
141559
|
+
"description": "Caller-owned JSON metadata persisted with the comment."
|
|
141560
|
+
},
|
|
141447
141561
|
"importedId": {
|
|
141448
141562
|
"type": "string"
|
|
141449
141563
|
},
|
|
@@ -141499,9 +141613,15 @@ const CONTRACT = {
|
|
|
141499
141613
|
"creatorName": {
|
|
141500
141614
|
"type": "string"
|
|
141501
141615
|
},
|
|
141616
|
+
"creatorId": {
|
|
141617
|
+
"type": "string"
|
|
141618
|
+
},
|
|
141502
141619
|
"creatorEmail": {
|
|
141503
141620
|
"type": "string"
|
|
141504
141621
|
},
|
|
141622
|
+
"creatorImage": {
|
|
141623
|
+
"type": "string"
|
|
141624
|
+
},
|
|
141505
141625
|
"trackedChange": {
|
|
141506
141626
|
"type": "boolean"
|
|
141507
141627
|
},
|
|
@@ -142412,6 +142532,34 @@ const CONTRACT = {
|
|
|
142412
142532
|
}
|
|
142413
142533
|
},
|
|
142414
142534
|
"additionalProperties": false
|
|
142535
|
+
},
|
|
142536
|
+
"customAttributes": {
|
|
142537
|
+
"type": "array",
|
|
142538
|
+
"items": {
|
|
142539
|
+
"type": "object",
|
|
142540
|
+
"properties": {
|
|
142541
|
+
"name": {
|
|
142542
|
+
"type": "string"
|
|
142543
|
+
},
|
|
142544
|
+
"namespaceUri": {
|
|
142545
|
+
"type": "string"
|
|
142546
|
+
},
|
|
142547
|
+
"localName": {
|
|
142548
|
+
"type": "string"
|
|
142549
|
+
},
|
|
142550
|
+
"value": {
|
|
142551
|
+
"type": "string"
|
|
142552
|
+
}
|
|
142553
|
+
},
|
|
142554
|
+
"additionalProperties": false,
|
|
142555
|
+
"required": [
|
|
142556
|
+
"name",
|
|
142557
|
+
"namespaceUri",
|
|
142558
|
+
"localName",
|
|
142559
|
+
"value"
|
|
142560
|
+
]
|
|
142561
|
+
},
|
|
142562
|
+
"description": "Unknown extension attributes in document order; exact duplicates are removed and conflicting values are retained."
|
|
142415
142563
|
}
|
|
142416
142564
|
},
|
|
142417
142565
|
"additionalProperties": false,
|
|
@@ -143372,6 +143520,34 @@ const CONTRACT = {
|
|
|
143372
143520
|
}
|
|
143373
143521
|
},
|
|
143374
143522
|
"additionalProperties": false
|
|
143523
|
+
},
|
|
143524
|
+
"customAttributes": {
|
|
143525
|
+
"type": "array",
|
|
143526
|
+
"items": {
|
|
143527
|
+
"type": "object",
|
|
143528
|
+
"properties": {
|
|
143529
|
+
"name": {
|
|
143530
|
+
"type": "string"
|
|
143531
|
+
},
|
|
143532
|
+
"namespaceUri": {
|
|
143533
|
+
"type": "string"
|
|
143534
|
+
},
|
|
143535
|
+
"localName": {
|
|
143536
|
+
"type": "string"
|
|
143537
|
+
},
|
|
143538
|
+
"value": {
|
|
143539
|
+
"type": "string"
|
|
143540
|
+
}
|
|
143541
|
+
},
|
|
143542
|
+
"additionalProperties": false,
|
|
143543
|
+
"required": [
|
|
143544
|
+
"name",
|
|
143545
|
+
"namespaceUri",
|
|
143546
|
+
"localName",
|
|
143547
|
+
"value"
|
|
143548
|
+
]
|
|
143549
|
+
},
|
|
143550
|
+
"description": "Unknown extension attributes in document order; exact duplicates are removed and conflicting values are retained."
|
|
143375
143551
|
}
|
|
143376
143552
|
},
|
|
143377
143553
|
"additionalProperties": false,
|
|
@@ -221342,6 +221518,9 @@ const CONTRACT = {
|
|
|
221342
221518
|
},
|
|
221343
221519
|
"text": {
|
|
221344
221520
|
"type": "string"
|
|
221521
|
+
},
|
|
221522
|
+
"isEmpty": {
|
|
221523
|
+
"type": "boolean"
|
|
221345
221524
|
}
|
|
221346
221525
|
},
|
|
221347
221526
|
"additionalProperties": false,
|
|
@@ -221546,6 +221725,9 @@ const CONTRACT = {
|
|
|
221546
221725
|
},
|
|
221547
221726
|
"text": {
|
|
221548
221727
|
"type": "string"
|
|
221728
|
+
},
|
|
221729
|
+
"isEmpty": {
|
|
221730
|
+
"type": "boolean"
|
|
221549
221731
|
}
|
|
221550
221732
|
},
|
|
221551
221733
|
"additionalProperties": false,
|
|
@@ -221725,6 +221907,9 @@ const CONTRACT = {
|
|
|
221725
221907
|
},
|
|
221726
221908
|
"text": {
|
|
221727
221909
|
"type": "string"
|
|
221910
|
+
},
|
|
221911
|
+
"isEmpty": {
|
|
221912
|
+
"type": "boolean"
|
|
221728
221913
|
}
|
|
221729
221914
|
},
|
|
221730
221915
|
"additionalProperties": false,
|
|
@@ -221903,6 +222088,9 @@ const CONTRACT = {
|
|
|
221903
222088
|
},
|
|
221904
222089
|
"text": {
|
|
221905
222090
|
"type": "string"
|
|
222091
|
+
},
|
|
222092
|
+
"isEmpty": {
|
|
222093
|
+
"type": "boolean"
|
|
221906
222094
|
}
|
|
221907
222095
|
},
|
|
221908
222096
|
"additionalProperties": false,
|
|
@@ -222081,6 +222269,9 @@ const CONTRACT = {
|
|
|
222081
222269
|
},
|
|
222082
222270
|
"text": {
|
|
222083
222271
|
"type": "string"
|
|
222272
|
+
},
|
|
222273
|
+
"isEmpty": {
|
|
222274
|
+
"type": "boolean"
|
|
222084
222275
|
}
|
|
222085
222276
|
},
|
|
222086
222277
|
"additionalProperties": false,
|
|
@@ -222306,6 +222497,9 @@ const CONTRACT = {
|
|
|
222306
222497
|
},
|
|
222307
222498
|
"text": {
|
|
222308
222499
|
"type": "string"
|
|
222500
|
+
},
|
|
222501
|
+
"isEmpty": {
|
|
222502
|
+
"type": "boolean"
|
|
222309
222503
|
}
|
|
222310
222504
|
},
|
|
222311
222505
|
"additionalProperties": false,
|
|
@@ -222512,6 +222706,9 @@ const CONTRACT = {
|
|
|
222512
222706
|
},
|
|
222513
222707
|
"text": {
|
|
222514
222708
|
"type": "string"
|
|
222709
|
+
},
|
|
222710
|
+
"isEmpty": {
|
|
222711
|
+
"type": "boolean"
|
|
222515
222712
|
}
|
|
222516
222713
|
},
|
|
222517
222714
|
"additionalProperties": false,
|
|
@@ -234088,6 +234285,9 @@ const CONTRACT = {
|
|
|
234088
234285
|
},
|
|
234089
234286
|
"text": {
|
|
234090
234287
|
"type": "string"
|
|
234288
|
+
},
|
|
234289
|
+
"isEmpty": {
|
|
234290
|
+
"type": "boolean"
|
|
234091
234291
|
}
|
|
234092
234292
|
},
|
|
234093
234293
|
"additionalProperties": false,
|
|
@@ -247763,159 +247963,355 @@ const CONTRACT = {
|
|
|
247763
247963
|
"start",
|
|
247764
247964
|
"end"
|
|
247765
247965
|
]
|
|
247766
|
-
}
|
|
247767
|
-
|
|
247768
|
-
|
|
247769
|
-
|
|
247770
|
-
|
|
247771
|
-
|
|
247772
|
-
|
|
247773
|
-
|
|
247774
|
-
|
|
247775
|
-
|
|
247776
|
-
|
|
247777
|
-
|
|
247778
|
-
|
|
247779
|
-
|
|
247780
|
-
|
|
247781
|
-
|
|
247782
|
-
|
|
247783
|
-
|
|
247784
|
-
|
|
247785
|
-
|
|
247786
|
-
|
|
247787
|
-
|
|
247788
|
-
|
|
247789
|
-
|
|
247790
|
-
|
|
247791
|
-
|
|
247792
|
-
|
|
247793
|
-
|
|
247794
|
-
|
|
247795
|
-
|
|
247796
|
-
|
|
247797
|
-
|
|
247798
|
-
|
|
247799
|
-
|
|
247800
|
-
|
|
247801
|
-
|
|
247802
|
-
|
|
247803
|
-
|
|
247804
|
-
|
|
247805
|
-
|
|
247806
|
-
|
|
247807
|
-
|
|
247808
|
-
|
|
247809
|
-
|
|
247810
|
-
|
|
247811
|
-
|
|
247812
|
-
|
|
247813
|
-
|
|
247814
|
-
|
|
247815
|
-
|
|
247816
|
-
|
|
247817
|
-
|
|
247818
|
-
|
|
247819
|
-
|
|
247820
|
-
|
|
247821
|
-
|
|
247822
|
-
|
|
247823
|
-
|
|
247824
|
-
|
|
247825
|
-
|
|
247826
|
-
|
|
247827
|
-
|
|
247828
|
-
|
|
247829
|
-
|
|
247830
|
-
|
|
247831
|
-
|
|
247832
|
-
|
|
247833
|
-
|
|
247834
|
-
|
|
247835
|
-
|
|
247836
|
-
|
|
247837
|
-
|
|
247838
|
-
|
|
247839
|
-
|
|
247840
|
-
|
|
247841
|
-
|
|
247842
|
-
|
|
247843
|
-
|
|
247844
|
-
|
|
247845
|
-
|
|
247846
|
-
|
|
247847
|
-
|
|
247848
|
-
|
|
247849
|
-
|
|
247850
|
-
|
|
247851
|
-
|
|
247852
|
-
|
|
247853
|
-
|
|
247854
|
-
|
|
247855
|
-
|
|
247856
|
-
|
|
247857
|
-
|
|
247858
|
-
|
|
247859
|
-
|
|
247860
|
-
|
|
247861
|
-
|
|
247862
|
-
|
|
247863
|
-
|
|
247864
|
-
|
|
247865
|
-
|
|
247866
|
-
|
|
247867
|
-
|
|
247868
|
-
|
|
247869
|
-
|
|
247870
|
-
|
|
247871
|
-
|
|
247872
|
-
|
|
247873
|
-
|
|
247874
|
-
|
|
247875
|
-
|
|
247876
|
-
|
|
247877
|
-
|
|
247878
|
-
|
|
247879
|
-
|
|
247880
|
-
|
|
247881
|
-
|
|
247882
|
-
|
|
247883
|
-
|
|
247884
|
-
|
|
247885
|
-
|
|
247886
|
-
|
|
247887
|
-
|
|
247888
|
-
|
|
247889
|
-
|
|
247890
|
-
|
|
247891
|
-
|
|
247892
|
-
|
|
247893
|
-
|
|
247894
|
-
|
|
247895
|
-
|
|
247896
|
-
|
|
247897
|
-
|
|
247898
|
-
"
|
|
247899
|
-
|
|
247900
|
-
|
|
247901
|
-
|
|
247902
|
-
|
|
247903
|
-
|
|
247904
|
-
|
|
247905
|
-
|
|
247906
|
-
},
|
|
247907
|
-
"
|
|
247908
|
-
"
|
|
247909
|
-
|
|
247910
|
-
|
|
247911
|
-
|
|
247912
|
-
|
|
247913
|
-
|
|
247914
|
-
"
|
|
247915
|
-
|
|
247916
|
-
|
|
247917
|
-
|
|
247918
|
-
|
|
247966
|
+
},
|
|
247967
|
+
"story": {
|
|
247968
|
+
"oneOf": [
|
|
247969
|
+
{
|
|
247970
|
+
"type": "object",
|
|
247971
|
+
"properties": {
|
|
247972
|
+
"kind": {
|
|
247973
|
+
"const": "story"
|
|
247974
|
+
},
|
|
247975
|
+
"storyType": {
|
|
247976
|
+
"const": "body"
|
|
247977
|
+
}
|
|
247978
|
+
},
|
|
247979
|
+
"required": [
|
|
247980
|
+
"kind",
|
|
247981
|
+
"storyType"
|
|
247982
|
+
]
|
|
247983
|
+
},
|
|
247984
|
+
{
|
|
247985
|
+
"type": "object",
|
|
247986
|
+
"properties": {
|
|
247987
|
+
"kind": {
|
|
247988
|
+
"const": "story"
|
|
247989
|
+
},
|
|
247990
|
+
"storyType": {
|
|
247991
|
+
"const": "headerFooterSlot"
|
|
247992
|
+
},
|
|
247993
|
+
"section": {
|
|
247994
|
+
"type": "object",
|
|
247995
|
+
"properties": {
|
|
247996
|
+
"kind": {
|
|
247997
|
+
"const": "section"
|
|
247998
|
+
},
|
|
247999
|
+
"sectionId": {
|
|
248000
|
+
"type": "string"
|
|
248001
|
+
}
|
|
248002
|
+
},
|
|
248003
|
+
"required": [
|
|
248004
|
+
"kind",
|
|
248005
|
+
"sectionId"
|
|
248006
|
+
]
|
|
248007
|
+
},
|
|
248008
|
+
"headerFooterKind": {
|
|
248009
|
+
"oneOf": [
|
|
248010
|
+
{
|
|
248011
|
+
"const": "header"
|
|
248012
|
+
},
|
|
248013
|
+
{
|
|
248014
|
+
"const": "footer"
|
|
248015
|
+
}
|
|
248016
|
+
]
|
|
248017
|
+
},
|
|
248018
|
+
"variant": {
|
|
248019
|
+
"oneOf": [
|
|
248020
|
+
{
|
|
248021
|
+
"const": "default"
|
|
248022
|
+
},
|
|
248023
|
+
{
|
|
248024
|
+
"const": "first"
|
|
248025
|
+
},
|
|
248026
|
+
{
|
|
248027
|
+
"const": "even"
|
|
248028
|
+
}
|
|
248029
|
+
]
|
|
248030
|
+
},
|
|
248031
|
+
"resolution": {
|
|
248032
|
+
"oneOf": [
|
|
248033
|
+
{
|
|
248034
|
+
"const": "effective"
|
|
248035
|
+
},
|
|
248036
|
+
{
|
|
248037
|
+
"const": "explicit"
|
|
248038
|
+
}
|
|
248039
|
+
]
|
|
248040
|
+
},
|
|
248041
|
+
"onWrite": {
|
|
248042
|
+
"oneOf": [
|
|
248043
|
+
{
|
|
248044
|
+
"const": "materializeIfInherited"
|
|
248045
|
+
},
|
|
248046
|
+
{
|
|
248047
|
+
"const": "editResolvedPart"
|
|
248048
|
+
},
|
|
248049
|
+
{
|
|
248050
|
+
"const": "error"
|
|
248051
|
+
}
|
|
248052
|
+
]
|
|
248053
|
+
}
|
|
248054
|
+
},
|
|
248055
|
+
"required": [
|
|
248056
|
+
"kind",
|
|
248057
|
+
"storyType",
|
|
248058
|
+
"section",
|
|
248059
|
+
"headerFooterKind",
|
|
248060
|
+
"variant"
|
|
248061
|
+
]
|
|
248062
|
+
},
|
|
248063
|
+
{
|
|
248064
|
+
"type": "object",
|
|
248065
|
+
"properties": {
|
|
248066
|
+
"kind": {
|
|
248067
|
+
"const": "story"
|
|
248068
|
+
},
|
|
248069
|
+
"storyType": {
|
|
248070
|
+
"const": "headerFooterPart"
|
|
248071
|
+
},
|
|
248072
|
+
"refId": {
|
|
248073
|
+
"type": "string"
|
|
248074
|
+
}
|
|
248075
|
+
},
|
|
248076
|
+
"required": [
|
|
248077
|
+
"kind",
|
|
248078
|
+
"storyType",
|
|
248079
|
+
"refId"
|
|
248080
|
+
]
|
|
248081
|
+
},
|
|
248082
|
+
{
|
|
248083
|
+
"type": "object",
|
|
248084
|
+
"properties": {
|
|
248085
|
+
"kind": {
|
|
248086
|
+
"const": "story"
|
|
248087
|
+
},
|
|
248088
|
+
"storyType": {
|
|
248089
|
+
"const": "footnote"
|
|
248090
|
+
},
|
|
248091
|
+
"noteId": {
|
|
248092
|
+
"type": "string"
|
|
248093
|
+
}
|
|
248094
|
+
},
|
|
248095
|
+
"required": [
|
|
248096
|
+
"kind",
|
|
248097
|
+
"storyType",
|
|
248098
|
+
"noteId"
|
|
248099
|
+
]
|
|
248100
|
+
},
|
|
248101
|
+
{
|
|
248102
|
+
"type": "object",
|
|
248103
|
+
"properties": {
|
|
248104
|
+
"kind": {
|
|
248105
|
+
"const": "story"
|
|
248106
|
+
},
|
|
248107
|
+
"storyType": {
|
|
248108
|
+
"const": "endnote"
|
|
248109
|
+
},
|
|
248110
|
+
"noteId": {
|
|
248111
|
+
"type": "string"
|
|
248112
|
+
}
|
|
248113
|
+
},
|
|
248114
|
+
"required": [
|
|
248115
|
+
"kind",
|
|
248116
|
+
"storyType",
|
|
248117
|
+
"noteId"
|
|
248118
|
+
]
|
|
248119
|
+
},
|
|
248120
|
+
{
|
|
248121
|
+
"type": "object",
|
|
248122
|
+
"properties": {
|
|
248123
|
+
"kind": {
|
|
248124
|
+
"const": "story"
|
|
248125
|
+
},
|
|
248126
|
+
"storyType": {
|
|
248127
|
+
"const": "textbox"
|
|
248128
|
+
},
|
|
248129
|
+
"textboxId": {
|
|
248130
|
+
"type": "string"
|
|
248131
|
+
}
|
|
248132
|
+
},
|
|
248133
|
+
"required": [
|
|
248134
|
+
"kind",
|
|
248135
|
+
"storyType",
|
|
248136
|
+
"textboxId"
|
|
248137
|
+
]
|
|
248138
|
+
}
|
|
248139
|
+
],
|
|
248140
|
+
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
|
|
248141
|
+
},
|
|
248142
|
+
"storyId": {
|
|
248143
|
+
"type": "string"
|
|
248144
|
+
},
|
|
248145
|
+
"fieldId": {
|
|
248146
|
+
"type": "string"
|
|
248147
|
+
},
|
|
248148
|
+
"occurrenceIndex": {
|
|
248149
|
+
"type": "number"
|
|
248150
|
+
}
|
|
248151
|
+
},
|
|
248152
|
+
"required": [
|
|
248153
|
+
"kind",
|
|
248154
|
+
"nodeType",
|
|
248155
|
+
"anchor"
|
|
248156
|
+
]
|
|
248157
|
+
}
|
|
248158
|
+
}
|
|
248159
|
+
],
|
|
248160
|
+
"constraints": null,
|
|
248161
|
+
"mutates": false,
|
|
248162
|
+
"idempotency": "idempotent",
|
|
248163
|
+
"supportsTrackedMode": false,
|
|
248164
|
+
"supportsDryRun": false,
|
|
248165
|
+
"inputSchema": {
|
|
248166
|
+
"type": "object",
|
|
248167
|
+
"properties": {
|
|
248168
|
+
"target": {
|
|
248169
|
+
"type": "object",
|
|
248170
|
+
"properties": {
|
|
248171
|
+
"kind": {
|
|
248172
|
+
"const": "inline"
|
|
248173
|
+
},
|
|
248174
|
+
"nodeType": {
|
|
248175
|
+
"const": "citation"
|
|
248176
|
+
},
|
|
248177
|
+
"anchor": {
|
|
248178
|
+
"$ref": "#/$defs/InlineAnchor"
|
|
248179
|
+
},
|
|
248180
|
+
"story": {
|
|
248181
|
+
"$ref": "#/$defs/StoryLocator"
|
|
248182
|
+
},
|
|
248183
|
+
"storyId": {
|
|
248184
|
+
"type": "string"
|
|
248185
|
+
},
|
|
248186
|
+
"fieldId": {
|
|
248187
|
+
"type": "string"
|
|
248188
|
+
},
|
|
248189
|
+
"occurrenceIndex": {
|
|
248190
|
+
"type": "integer"
|
|
248191
|
+
}
|
|
248192
|
+
},
|
|
248193
|
+
"additionalProperties": false,
|
|
248194
|
+
"required": [
|
|
248195
|
+
"kind",
|
|
248196
|
+
"nodeType",
|
|
248197
|
+
"anchor"
|
|
248198
|
+
]
|
|
248199
|
+
}
|
|
248200
|
+
},
|
|
248201
|
+
"additionalProperties": false,
|
|
248202
|
+
"required": [
|
|
248203
|
+
"target"
|
|
248204
|
+
]
|
|
248205
|
+
},
|
|
248206
|
+
"outputSchema": {
|
|
248207
|
+
"type": "object"
|
|
248208
|
+
}
|
|
248209
|
+
},
|
|
248210
|
+
"doc.citations.insert": {
|
|
248211
|
+
"operationId": "doc.citations.insert",
|
|
248212
|
+
"sdkSurface": "document",
|
|
248213
|
+
"command": "citations insert",
|
|
248214
|
+
"commandTokens": [
|
|
248215
|
+
"citations",
|
|
248216
|
+
"insert"
|
|
248217
|
+
],
|
|
248218
|
+
"category": "core",
|
|
248219
|
+
"description": "Insert a new citation mark at a target location.",
|
|
248220
|
+
"requiresDocumentContext": true,
|
|
248221
|
+
"docRequirement": "optional",
|
|
248222
|
+
"responseEnvelopeKey": "result",
|
|
248223
|
+
"params": [
|
|
248224
|
+
{
|
|
248225
|
+
"name": "doc",
|
|
248226
|
+
"kind": "doc",
|
|
248227
|
+
"type": "string",
|
|
248228
|
+
"description": "Document path. Optional when a session is already open."
|
|
248229
|
+
},
|
|
248230
|
+
{
|
|
248231
|
+
"name": "sessionId",
|
|
248232
|
+
"kind": "flag",
|
|
248233
|
+
"type": "string",
|
|
248234
|
+
"flag": "session",
|
|
248235
|
+
"description": "Session ID for multi-session workflows. Optional when only one session is open."
|
|
248236
|
+
},
|
|
248237
|
+
{
|
|
248238
|
+
"name": "out",
|
|
248239
|
+
"kind": "flag",
|
|
248240
|
+
"type": "string",
|
|
248241
|
+
"agentVisible": false
|
|
248242
|
+
},
|
|
248243
|
+
{
|
|
248244
|
+
"name": "force",
|
|
248245
|
+
"kind": "flag",
|
|
248246
|
+
"type": "boolean",
|
|
248247
|
+
"description": "Bypass confirmation checks."
|
|
248248
|
+
},
|
|
248249
|
+
{
|
|
248250
|
+
"name": "expectedRevision",
|
|
248251
|
+
"kind": "flag",
|
|
248252
|
+
"type": "number",
|
|
248253
|
+
"flag": "expected-revision",
|
|
248254
|
+
"agentVisible": false
|
|
248255
|
+
},
|
|
248256
|
+
{
|
|
248257
|
+
"name": "changeMode",
|
|
248258
|
+
"kind": "flag",
|
|
248259
|
+
"type": "string",
|
|
248260
|
+
"flag": "change-mode",
|
|
248261
|
+
"schema": {
|
|
248262
|
+
"type": "string"
|
|
248263
|
+
},
|
|
248264
|
+
"description": "Edit mode: \"direct\" applies changes immediately, \"tracked\" records as suggestions."
|
|
248265
|
+
},
|
|
248266
|
+
{
|
|
248267
|
+
"name": "dryRun",
|
|
248268
|
+
"kind": "flag",
|
|
248269
|
+
"type": "boolean",
|
|
248270
|
+
"flag": "dry-run",
|
|
248271
|
+
"description": "Preview the result without applying changes."
|
|
248272
|
+
},
|
|
248273
|
+
{
|
|
248274
|
+
"name": "at",
|
|
248275
|
+
"kind": "jsonFlag",
|
|
248276
|
+
"type": "json",
|
|
248277
|
+
"flag": "at-json",
|
|
248278
|
+
"required": true,
|
|
248279
|
+
"schema": {
|
|
248280
|
+
"type": "object",
|
|
248281
|
+
"properties": {
|
|
248282
|
+
"kind": {
|
|
248283
|
+
"const": "text"
|
|
248284
|
+
},
|
|
248285
|
+
"segments": {
|
|
248286
|
+
"type": "array",
|
|
248287
|
+
"items": {
|
|
248288
|
+
"type": "object",
|
|
248289
|
+
"properties": {
|
|
248290
|
+
"blockId": {
|
|
248291
|
+
"type": "string"
|
|
248292
|
+
},
|
|
248293
|
+
"range": {
|
|
248294
|
+
"type": "object",
|
|
248295
|
+
"properties": {
|
|
248296
|
+
"start": {
|
|
248297
|
+
"type": "number"
|
|
248298
|
+
},
|
|
248299
|
+
"end": {
|
|
248300
|
+
"type": "number"
|
|
248301
|
+
}
|
|
248302
|
+
},
|
|
248303
|
+
"required": [
|
|
248304
|
+
"start",
|
|
248305
|
+
"end"
|
|
248306
|
+
]
|
|
248307
|
+
}
|
|
248308
|
+
},
|
|
248309
|
+
"required": [
|
|
248310
|
+
"blockId",
|
|
248311
|
+
"range"
|
|
248312
|
+
]
|
|
248313
|
+
},
|
|
248314
|
+
"minItems": 1
|
|
247919
248315
|
},
|
|
247920
248316
|
"story": {
|
|
247921
248317
|
"oneOf": [
|
|
@@ -248156,6 +248552,18 @@ const CONTRACT = {
|
|
|
248156
248552
|
},
|
|
248157
248553
|
"anchor": {
|
|
248158
248554
|
"$ref": "#/$defs/InlineAnchor"
|
|
248555
|
+
},
|
|
248556
|
+
"story": {
|
|
248557
|
+
"$ref": "#/$defs/StoryLocator"
|
|
248558
|
+
},
|
|
248559
|
+
"storyId": {
|
|
248560
|
+
"type": "string"
|
|
248561
|
+
},
|
|
248562
|
+
"fieldId": {
|
|
248563
|
+
"type": "string"
|
|
248564
|
+
},
|
|
248565
|
+
"occurrenceIndex": {
|
|
248566
|
+
"type": "integer"
|
|
248159
248567
|
}
|
|
248160
248568
|
},
|
|
248161
248569
|
"additionalProperties": false,
|
|
@@ -248221,6 +248629,18 @@ const CONTRACT = {
|
|
|
248221
248629
|
},
|
|
248222
248630
|
"anchor": {
|
|
248223
248631
|
"$ref": "#/$defs/InlineAnchor"
|
|
248632
|
+
},
|
|
248633
|
+
"story": {
|
|
248634
|
+
"$ref": "#/$defs/StoryLocator"
|
|
248635
|
+
},
|
|
248636
|
+
"storyId": {
|
|
248637
|
+
"type": "string"
|
|
248638
|
+
},
|
|
248639
|
+
"fieldId": {
|
|
248640
|
+
"type": "string"
|
|
248641
|
+
},
|
|
248642
|
+
"occurrenceIndex": {
|
|
248643
|
+
"type": "integer"
|
|
248224
248644
|
}
|
|
248225
248645
|
},
|
|
248226
248646
|
"additionalProperties": false,
|
|
@@ -248384,6 +248804,190 @@ const CONTRACT = {
|
|
|
248384
248804
|
"start",
|
|
248385
248805
|
"end"
|
|
248386
248806
|
]
|
|
248807
|
+
},
|
|
248808
|
+
"story": {
|
|
248809
|
+
"oneOf": [
|
|
248810
|
+
{
|
|
248811
|
+
"type": "object",
|
|
248812
|
+
"properties": {
|
|
248813
|
+
"kind": {
|
|
248814
|
+
"const": "story"
|
|
248815
|
+
},
|
|
248816
|
+
"storyType": {
|
|
248817
|
+
"const": "body"
|
|
248818
|
+
}
|
|
248819
|
+
},
|
|
248820
|
+
"required": [
|
|
248821
|
+
"kind",
|
|
248822
|
+
"storyType"
|
|
248823
|
+
]
|
|
248824
|
+
},
|
|
248825
|
+
{
|
|
248826
|
+
"type": "object",
|
|
248827
|
+
"properties": {
|
|
248828
|
+
"kind": {
|
|
248829
|
+
"const": "story"
|
|
248830
|
+
},
|
|
248831
|
+
"storyType": {
|
|
248832
|
+
"const": "headerFooterSlot"
|
|
248833
|
+
},
|
|
248834
|
+
"section": {
|
|
248835
|
+
"type": "object",
|
|
248836
|
+
"properties": {
|
|
248837
|
+
"kind": {
|
|
248838
|
+
"const": "section"
|
|
248839
|
+
},
|
|
248840
|
+
"sectionId": {
|
|
248841
|
+
"type": "string"
|
|
248842
|
+
}
|
|
248843
|
+
},
|
|
248844
|
+
"required": [
|
|
248845
|
+
"kind",
|
|
248846
|
+
"sectionId"
|
|
248847
|
+
]
|
|
248848
|
+
},
|
|
248849
|
+
"headerFooterKind": {
|
|
248850
|
+
"oneOf": [
|
|
248851
|
+
{
|
|
248852
|
+
"const": "header"
|
|
248853
|
+
},
|
|
248854
|
+
{
|
|
248855
|
+
"const": "footer"
|
|
248856
|
+
}
|
|
248857
|
+
]
|
|
248858
|
+
},
|
|
248859
|
+
"variant": {
|
|
248860
|
+
"oneOf": [
|
|
248861
|
+
{
|
|
248862
|
+
"const": "default"
|
|
248863
|
+
},
|
|
248864
|
+
{
|
|
248865
|
+
"const": "first"
|
|
248866
|
+
},
|
|
248867
|
+
{
|
|
248868
|
+
"const": "even"
|
|
248869
|
+
}
|
|
248870
|
+
]
|
|
248871
|
+
},
|
|
248872
|
+
"resolution": {
|
|
248873
|
+
"oneOf": [
|
|
248874
|
+
{
|
|
248875
|
+
"const": "effective"
|
|
248876
|
+
},
|
|
248877
|
+
{
|
|
248878
|
+
"const": "explicit"
|
|
248879
|
+
}
|
|
248880
|
+
]
|
|
248881
|
+
},
|
|
248882
|
+
"onWrite": {
|
|
248883
|
+
"oneOf": [
|
|
248884
|
+
{
|
|
248885
|
+
"const": "materializeIfInherited"
|
|
248886
|
+
},
|
|
248887
|
+
{
|
|
248888
|
+
"const": "editResolvedPart"
|
|
248889
|
+
},
|
|
248890
|
+
{
|
|
248891
|
+
"const": "error"
|
|
248892
|
+
}
|
|
248893
|
+
]
|
|
248894
|
+
}
|
|
248895
|
+
},
|
|
248896
|
+
"required": [
|
|
248897
|
+
"kind",
|
|
248898
|
+
"storyType",
|
|
248899
|
+
"section",
|
|
248900
|
+
"headerFooterKind",
|
|
248901
|
+
"variant"
|
|
248902
|
+
]
|
|
248903
|
+
},
|
|
248904
|
+
{
|
|
248905
|
+
"type": "object",
|
|
248906
|
+
"properties": {
|
|
248907
|
+
"kind": {
|
|
248908
|
+
"const": "story"
|
|
248909
|
+
},
|
|
248910
|
+
"storyType": {
|
|
248911
|
+
"const": "headerFooterPart"
|
|
248912
|
+
},
|
|
248913
|
+
"refId": {
|
|
248914
|
+
"type": "string"
|
|
248915
|
+
}
|
|
248916
|
+
},
|
|
248917
|
+
"required": [
|
|
248918
|
+
"kind",
|
|
248919
|
+
"storyType",
|
|
248920
|
+
"refId"
|
|
248921
|
+
]
|
|
248922
|
+
},
|
|
248923
|
+
{
|
|
248924
|
+
"type": "object",
|
|
248925
|
+
"properties": {
|
|
248926
|
+
"kind": {
|
|
248927
|
+
"const": "story"
|
|
248928
|
+
},
|
|
248929
|
+
"storyType": {
|
|
248930
|
+
"const": "footnote"
|
|
248931
|
+
},
|
|
248932
|
+
"noteId": {
|
|
248933
|
+
"type": "string"
|
|
248934
|
+
}
|
|
248935
|
+
},
|
|
248936
|
+
"required": [
|
|
248937
|
+
"kind",
|
|
248938
|
+
"storyType",
|
|
248939
|
+
"noteId"
|
|
248940
|
+
]
|
|
248941
|
+
},
|
|
248942
|
+
{
|
|
248943
|
+
"type": "object",
|
|
248944
|
+
"properties": {
|
|
248945
|
+
"kind": {
|
|
248946
|
+
"const": "story"
|
|
248947
|
+
},
|
|
248948
|
+
"storyType": {
|
|
248949
|
+
"const": "endnote"
|
|
248950
|
+
},
|
|
248951
|
+
"noteId": {
|
|
248952
|
+
"type": "string"
|
|
248953
|
+
}
|
|
248954
|
+
},
|
|
248955
|
+
"required": [
|
|
248956
|
+
"kind",
|
|
248957
|
+
"storyType",
|
|
248958
|
+
"noteId"
|
|
248959
|
+
]
|
|
248960
|
+
},
|
|
248961
|
+
{
|
|
248962
|
+
"type": "object",
|
|
248963
|
+
"properties": {
|
|
248964
|
+
"kind": {
|
|
248965
|
+
"const": "story"
|
|
248966
|
+
},
|
|
248967
|
+
"storyType": {
|
|
248968
|
+
"const": "textbox"
|
|
248969
|
+
},
|
|
248970
|
+
"textboxId": {
|
|
248971
|
+
"type": "string"
|
|
248972
|
+
}
|
|
248973
|
+
},
|
|
248974
|
+
"required": [
|
|
248975
|
+
"kind",
|
|
248976
|
+
"storyType",
|
|
248977
|
+
"textboxId"
|
|
248978
|
+
]
|
|
248979
|
+
}
|
|
248980
|
+
],
|
|
248981
|
+
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
|
|
248982
|
+
},
|
|
248983
|
+
"storyId": {
|
|
248984
|
+
"type": "string"
|
|
248985
|
+
},
|
|
248986
|
+
"fieldId": {
|
|
248987
|
+
"type": "string"
|
|
248988
|
+
},
|
|
248989
|
+
"occurrenceIndex": {
|
|
248990
|
+
"type": "number"
|
|
248387
248991
|
}
|
|
248388
248992
|
},
|
|
248389
248993
|
"required": [
|
|
@@ -248431,6 +249035,18 @@ const CONTRACT = {
|
|
|
248431
249035
|
},
|
|
248432
249036
|
"anchor": {
|
|
248433
249037
|
"$ref": "#/$defs/InlineAnchor"
|
|
249038
|
+
},
|
|
249039
|
+
"story": {
|
|
249040
|
+
"$ref": "#/$defs/StoryLocator"
|
|
249041
|
+
},
|
|
249042
|
+
"storyId": {
|
|
249043
|
+
"type": "string"
|
|
249044
|
+
},
|
|
249045
|
+
"fieldId": {
|
|
249046
|
+
"type": "string"
|
|
249047
|
+
},
|
|
249048
|
+
"occurrenceIndex": {
|
|
249049
|
+
"type": "integer"
|
|
248434
249050
|
}
|
|
248435
249051
|
},
|
|
248436
249052
|
"additionalProperties": false,
|
|
@@ -248478,6 +249094,18 @@ const CONTRACT = {
|
|
|
248478
249094
|
},
|
|
248479
249095
|
"anchor": {
|
|
248480
249096
|
"$ref": "#/$defs/InlineAnchor"
|
|
249097
|
+
},
|
|
249098
|
+
"story": {
|
|
249099
|
+
"$ref": "#/$defs/StoryLocator"
|
|
249100
|
+
},
|
|
249101
|
+
"storyId": {
|
|
249102
|
+
"type": "string"
|
|
249103
|
+
},
|
|
249104
|
+
"fieldId": {
|
|
249105
|
+
"type": "string"
|
|
249106
|
+
},
|
|
249107
|
+
"occurrenceIndex": {
|
|
249108
|
+
"type": "integer"
|
|
248481
249109
|
}
|
|
248482
249110
|
},
|
|
248483
249111
|
"additionalProperties": false,
|
|
@@ -248543,6 +249171,18 @@ const CONTRACT = {
|
|
|
248543
249171
|
},
|
|
248544
249172
|
"anchor": {
|
|
248545
249173
|
"$ref": "#/$defs/InlineAnchor"
|
|
249174
|
+
},
|
|
249175
|
+
"story": {
|
|
249176
|
+
"$ref": "#/$defs/StoryLocator"
|
|
249177
|
+
},
|
|
249178
|
+
"storyId": {
|
|
249179
|
+
"type": "string"
|
|
249180
|
+
},
|
|
249181
|
+
"fieldId": {
|
|
249182
|
+
"type": "string"
|
|
249183
|
+
},
|
|
249184
|
+
"occurrenceIndex": {
|
|
249185
|
+
"type": "integer"
|
|
248546
249186
|
}
|
|
248547
249187
|
},
|
|
248548
249188
|
"additionalProperties": false,
|
|
@@ -248706,6 +249346,190 @@ const CONTRACT = {
|
|
|
248706
249346
|
"start",
|
|
248707
249347
|
"end"
|
|
248708
249348
|
]
|
|
249349
|
+
},
|
|
249350
|
+
"story": {
|
|
249351
|
+
"oneOf": [
|
|
249352
|
+
{
|
|
249353
|
+
"type": "object",
|
|
249354
|
+
"properties": {
|
|
249355
|
+
"kind": {
|
|
249356
|
+
"const": "story"
|
|
249357
|
+
},
|
|
249358
|
+
"storyType": {
|
|
249359
|
+
"const": "body"
|
|
249360
|
+
}
|
|
249361
|
+
},
|
|
249362
|
+
"required": [
|
|
249363
|
+
"kind",
|
|
249364
|
+
"storyType"
|
|
249365
|
+
]
|
|
249366
|
+
},
|
|
249367
|
+
{
|
|
249368
|
+
"type": "object",
|
|
249369
|
+
"properties": {
|
|
249370
|
+
"kind": {
|
|
249371
|
+
"const": "story"
|
|
249372
|
+
},
|
|
249373
|
+
"storyType": {
|
|
249374
|
+
"const": "headerFooterSlot"
|
|
249375
|
+
},
|
|
249376
|
+
"section": {
|
|
249377
|
+
"type": "object",
|
|
249378
|
+
"properties": {
|
|
249379
|
+
"kind": {
|
|
249380
|
+
"const": "section"
|
|
249381
|
+
},
|
|
249382
|
+
"sectionId": {
|
|
249383
|
+
"type": "string"
|
|
249384
|
+
}
|
|
249385
|
+
},
|
|
249386
|
+
"required": [
|
|
249387
|
+
"kind",
|
|
249388
|
+
"sectionId"
|
|
249389
|
+
]
|
|
249390
|
+
},
|
|
249391
|
+
"headerFooterKind": {
|
|
249392
|
+
"oneOf": [
|
|
249393
|
+
{
|
|
249394
|
+
"const": "header"
|
|
249395
|
+
},
|
|
249396
|
+
{
|
|
249397
|
+
"const": "footer"
|
|
249398
|
+
}
|
|
249399
|
+
]
|
|
249400
|
+
},
|
|
249401
|
+
"variant": {
|
|
249402
|
+
"oneOf": [
|
|
249403
|
+
{
|
|
249404
|
+
"const": "default"
|
|
249405
|
+
},
|
|
249406
|
+
{
|
|
249407
|
+
"const": "first"
|
|
249408
|
+
},
|
|
249409
|
+
{
|
|
249410
|
+
"const": "even"
|
|
249411
|
+
}
|
|
249412
|
+
]
|
|
249413
|
+
},
|
|
249414
|
+
"resolution": {
|
|
249415
|
+
"oneOf": [
|
|
249416
|
+
{
|
|
249417
|
+
"const": "effective"
|
|
249418
|
+
},
|
|
249419
|
+
{
|
|
249420
|
+
"const": "explicit"
|
|
249421
|
+
}
|
|
249422
|
+
]
|
|
249423
|
+
},
|
|
249424
|
+
"onWrite": {
|
|
249425
|
+
"oneOf": [
|
|
249426
|
+
{
|
|
249427
|
+
"const": "materializeIfInherited"
|
|
249428
|
+
},
|
|
249429
|
+
{
|
|
249430
|
+
"const": "editResolvedPart"
|
|
249431
|
+
},
|
|
249432
|
+
{
|
|
249433
|
+
"const": "error"
|
|
249434
|
+
}
|
|
249435
|
+
]
|
|
249436
|
+
}
|
|
249437
|
+
},
|
|
249438
|
+
"required": [
|
|
249439
|
+
"kind",
|
|
249440
|
+
"storyType",
|
|
249441
|
+
"section",
|
|
249442
|
+
"headerFooterKind",
|
|
249443
|
+
"variant"
|
|
249444
|
+
]
|
|
249445
|
+
},
|
|
249446
|
+
{
|
|
249447
|
+
"type": "object",
|
|
249448
|
+
"properties": {
|
|
249449
|
+
"kind": {
|
|
249450
|
+
"const": "story"
|
|
249451
|
+
},
|
|
249452
|
+
"storyType": {
|
|
249453
|
+
"const": "headerFooterPart"
|
|
249454
|
+
},
|
|
249455
|
+
"refId": {
|
|
249456
|
+
"type": "string"
|
|
249457
|
+
}
|
|
249458
|
+
},
|
|
249459
|
+
"required": [
|
|
249460
|
+
"kind",
|
|
249461
|
+
"storyType",
|
|
249462
|
+
"refId"
|
|
249463
|
+
]
|
|
249464
|
+
},
|
|
249465
|
+
{
|
|
249466
|
+
"type": "object",
|
|
249467
|
+
"properties": {
|
|
249468
|
+
"kind": {
|
|
249469
|
+
"const": "story"
|
|
249470
|
+
},
|
|
249471
|
+
"storyType": {
|
|
249472
|
+
"const": "footnote"
|
|
249473
|
+
},
|
|
249474
|
+
"noteId": {
|
|
249475
|
+
"type": "string"
|
|
249476
|
+
}
|
|
249477
|
+
},
|
|
249478
|
+
"required": [
|
|
249479
|
+
"kind",
|
|
249480
|
+
"storyType",
|
|
249481
|
+
"noteId"
|
|
249482
|
+
]
|
|
249483
|
+
},
|
|
249484
|
+
{
|
|
249485
|
+
"type": "object",
|
|
249486
|
+
"properties": {
|
|
249487
|
+
"kind": {
|
|
249488
|
+
"const": "story"
|
|
249489
|
+
},
|
|
249490
|
+
"storyType": {
|
|
249491
|
+
"const": "endnote"
|
|
249492
|
+
},
|
|
249493
|
+
"noteId": {
|
|
249494
|
+
"type": "string"
|
|
249495
|
+
}
|
|
249496
|
+
},
|
|
249497
|
+
"required": [
|
|
249498
|
+
"kind",
|
|
249499
|
+
"storyType",
|
|
249500
|
+
"noteId"
|
|
249501
|
+
]
|
|
249502
|
+
},
|
|
249503
|
+
{
|
|
249504
|
+
"type": "object",
|
|
249505
|
+
"properties": {
|
|
249506
|
+
"kind": {
|
|
249507
|
+
"const": "story"
|
|
249508
|
+
},
|
|
249509
|
+
"storyType": {
|
|
249510
|
+
"const": "textbox"
|
|
249511
|
+
},
|
|
249512
|
+
"textboxId": {
|
|
249513
|
+
"type": "string"
|
|
249514
|
+
}
|
|
249515
|
+
},
|
|
249516
|
+
"required": [
|
|
249517
|
+
"kind",
|
|
249518
|
+
"storyType",
|
|
249519
|
+
"textboxId"
|
|
249520
|
+
]
|
|
249521
|
+
}
|
|
249522
|
+
],
|
|
249523
|
+
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
|
|
249524
|
+
},
|
|
249525
|
+
"storyId": {
|
|
249526
|
+
"type": "string"
|
|
249527
|
+
},
|
|
249528
|
+
"fieldId": {
|
|
249529
|
+
"type": "string"
|
|
249530
|
+
},
|
|
249531
|
+
"occurrenceIndex": {
|
|
249532
|
+
"type": "number"
|
|
248709
249533
|
}
|
|
248710
249534
|
},
|
|
248711
249535
|
"required": [
|
|
@@ -248735,6 +249559,18 @@ const CONTRACT = {
|
|
|
248735
249559
|
},
|
|
248736
249560
|
"anchor": {
|
|
248737
249561
|
"$ref": "#/$defs/InlineAnchor"
|
|
249562
|
+
},
|
|
249563
|
+
"story": {
|
|
249564
|
+
"$ref": "#/$defs/StoryLocator"
|
|
249565
|
+
},
|
|
249566
|
+
"storyId": {
|
|
249567
|
+
"type": "string"
|
|
249568
|
+
},
|
|
249569
|
+
"fieldId": {
|
|
249570
|
+
"type": "string"
|
|
249571
|
+
},
|
|
249572
|
+
"occurrenceIndex": {
|
|
249573
|
+
"type": "integer"
|
|
248738
249574
|
}
|
|
248739
249575
|
},
|
|
248740
249576
|
"additionalProperties": false,
|
|
@@ -248769,6 +249605,18 @@ const CONTRACT = {
|
|
|
248769
249605
|
},
|
|
248770
249606
|
"anchor": {
|
|
248771
249607
|
"$ref": "#/$defs/InlineAnchor"
|
|
249608
|
+
},
|
|
249609
|
+
"story": {
|
|
249610
|
+
"$ref": "#/$defs/StoryLocator"
|
|
249611
|
+
},
|
|
249612
|
+
"storyId": {
|
|
249613
|
+
"type": "string"
|
|
249614
|
+
},
|
|
249615
|
+
"fieldId": {
|
|
249616
|
+
"type": "string"
|
|
249617
|
+
},
|
|
249618
|
+
"occurrenceIndex": {
|
|
249619
|
+
"type": "integer"
|
|
248772
249620
|
}
|
|
248773
249621
|
},
|
|
248774
249622
|
"additionalProperties": false,
|
|
@@ -248834,6 +249682,18 @@ const CONTRACT = {
|
|
|
248834
249682
|
},
|
|
248835
249683
|
"anchor": {
|
|
248836
249684
|
"$ref": "#/$defs/InlineAnchor"
|
|
249685
|
+
},
|
|
249686
|
+
"story": {
|
|
249687
|
+
"$ref": "#/$defs/StoryLocator"
|
|
249688
|
+
},
|
|
249689
|
+
"storyId": {
|
|
249690
|
+
"type": "string"
|
|
249691
|
+
},
|
|
249692
|
+
"fieldId": {
|
|
249693
|
+
"type": "string"
|
|
249694
|
+
},
|
|
249695
|
+
"occurrenceIndex": {
|
|
249696
|
+
"type": "integer"
|
|
248837
249697
|
}
|
|
248838
249698
|
},
|
|
248839
249699
|
"additionalProperties": false,
|