@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
|
@@ -846,6 +846,12 @@ export const CONTRACT = {
|
|
|
846
846
|
"atChar": {
|
|
847
847
|
"type": "integer"
|
|
848
848
|
},
|
|
849
|
+
"blockId": {
|
|
850
|
+
"type": "string"
|
|
851
|
+
},
|
|
852
|
+
"atCharInBlock": {
|
|
853
|
+
"type": "integer"
|
|
854
|
+
},
|
|
849
855
|
"delta": {
|
|
850
856
|
"type": "integer"
|
|
851
857
|
}
|
|
@@ -138183,7 +138189,7 @@ export const CONTRACT = {
|
|
|
138183
138189
|
"create"
|
|
138184
138190
|
],
|
|
138185
138191
|
"category": "comments",
|
|
138186
|
-
"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.",
|
|
138192
|
+
"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.",
|
|
138187
138193
|
"requiresDocumentContext": true,
|
|
138188
138194
|
"docRequirement": "optional",
|
|
138189
138195
|
"responseEnvelopeKey": "receipt",
|
|
@@ -140353,6 +140359,59 @@ export const CONTRACT = {
|
|
|
140353
140359
|
"flag": "parent-id",
|
|
140354
140360
|
"description": "Parent comment ID for creating a threaded reply."
|
|
140355
140361
|
},
|
|
140362
|
+
{
|
|
140363
|
+
"name": "commentId",
|
|
140364
|
+
"kind": "flag",
|
|
140365
|
+
"type": "string",
|
|
140366
|
+
"flag": "comment-id",
|
|
140367
|
+
"description": "Compatibility alias for externalId, matching the caller-supplied commentId accepted by the v1 editor. V2 still generates a separate Word-compatible commentId."
|
|
140368
|
+
},
|
|
140369
|
+
{
|
|
140370
|
+
"name": "externalId",
|
|
140371
|
+
"kind": "flag",
|
|
140372
|
+
"type": "string",
|
|
140373
|
+
"flag": "external-id",
|
|
140374
|
+
"description": "Caller-owned durable, document-unique integration id. Kept separate from the generated Word-compatible commentId."
|
|
140375
|
+
},
|
|
140376
|
+
{
|
|
140377
|
+
"name": "author",
|
|
140378
|
+
"kind": "flag",
|
|
140379
|
+
"type": "string",
|
|
140380
|
+
"description": "Author display name. Defaults to the configured session author."
|
|
140381
|
+
},
|
|
140382
|
+
{
|
|
140383
|
+
"name": "authorId",
|
|
140384
|
+
"kind": "flag",
|
|
140385
|
+
"type": "string",
|
|
140386
|
+
"flag": "author-id",
|
|
140387
|
+
"description": "Stable caller-owned author id."
|
|
140388
|
+
},
|
|
140389
|
+
{
|
|
140390
|
+
"name": "authorEmail",
|
|
140391
|
+
"kind": "flag",
|
|
140392
|
+
"type": "string",
|
|
140393
|
+
"flag": "author-email",
|
|
140394
|
+
"description": "Caller-owned author email."
|
|
140395
|
+
},
|
|
140396
|
+
{
|
|
140397
|
+
"name": "authorImage",
|
|
140398
|
+
"kind": "flag",
|
|
140399
|
+
"type": "string",
|
|
140400
|
+
"flag": "author-image",
|
|
140401
|
+
"description": "Caller-owned author image URL."
|
|
140402
|
+
},
|
|
140403
|
+
{
|
|
140404
|
+
"name": "metadata",
|
|
140405
|
+
"kind": "jsonFlag",
|
|
140406
|
+
"type": "json",
|
|
140407
|
+
"flag": "metadata-json",
|
|
140408
|
+
"schema": {
|
|
140409
|
+
"type": "object",
|
|
140410
|
+
"properties": {},
|
|
140411
|
+
"description": "Caller-owned JSON metadata persisted with the comment."
|
|
140412
|
+
},
|
|
140413
|
+
"description": "Caller-owned JSON metadata persisted with the comment."
|
|
140414
|
+
},
|
|
140356
140415
|
{
|
|
140357
140416
|
"name": "blockId",
|
|
140358
140417
|
"kind": "flag",
|
|
@@ -140445,6 +140504,43 @@ export const CONTRACT = {
|
|
|
140445
140504
|
"parentId": {
|
|
140446
140505
|
"type": "string",
|
|
140447
140506
|
"description": "Public alias for parentCommentId when creating a threaded reply."
|
|
140507
|
+
},
|
|
140508
|
+
"commentId": {
|
|
140509
|
+
"type": "string",
|
|
140510
|
+
"minLength": 1,
|
|
140511
|
+
"maxLength": 1024,
|
|
140512
|
+
"description": "Compatibility alias for externalId, matching the caller-supplied commentId accepted by the v1 editor. V2 still generates a separate Word-compatible commentId."
|
|
140513
|
+
},
|
|
140514
|
+
"externalId": {
|
|
140515
|
+
"type": "string",
|
|
140516
|
+
"minLength": 1,
|
|
140517
|
+
"maxLength": 1024,
|
|
140518
|
+
"description": "Caller-owned durable, document-unique integration id. Kept separate from the generated Word-compatible commentId."
|
|
140519
|
+
},
|
|
140520
|
+
"author": {
|
|
140521
|
+
"type": "string",
|
|
140522
|
+
"minLength": 1,
|
|
140523
|
+
"description": "Author display name. Defaults to the configured session author."
|
|
140524
|
+
},
|
|
140525
|
+
"authorId": {
|
|
140526
|
+
"type": "string",
|
|
140527
|
+
"minLength": 1,
|
|
140528
|
+
"description": "Stable caller-owned author id."
|
|
140529
|
+
},
|
|
140530
|
+
"authorEmail": {
|
|
140531
|
+
"type": "string",
|
|
140532
|
+
"minLength": 1,
|
|
140533
|
+
"description": "Caller-owned author email."
|
|
140534
|
+
},
|
|
140535
|
+
"authorImage": {
|
|
140536
|
+
"type": "string",
|
|
140537
|
+
"minLength": 1,
|
|
140538
|
+
"description": "Caller-owned author image URL."
|
|
140539
|
+
},
|
|
140540
|
+
"metadata": {
|
|
140541
|
+
"type": "object",
|
|
140542
|
+
"additionalProperties": true,
|
|
140543
|
+
"description": "Caller-owned JSON metadata persisted with the comment."
|
|
140448
140544
|
}
|
|
140449
140545
|
},
|
|
140450
140546
|
"additionalProperties": false,
|
|
@@ -142701,6 +142797,15 @@ export const CONTRACT = {
|
|
|
142701
142797
|
"commentId": {
|
|
142702
142798
|
"type": "string"
|
|
142703
142799
|
},
|
|
142800
|
+
"externalId": {
|
|
142801
|
+
"type": "string",
|
|
142802
|
+
"description": "Caller-owned durable integration id, distinct from the Word-compatible commentId."
|
|
142803
|
+
},
|
|
142804
|
+
"metadata": {
|
|
142805
|
+
"type": "object",
|
|
142806
|
+
"additionalProperties": true,
|
|
142807
|
+
"description": "Caller-owned JSON metadata persisted with the comment."
|
|
142808
|
+
},
|
|
142704
142809
|
"importedId": {
|
|
142705
142810
|
"type": "string"
|
|
142706
142811
|
},
|
|
@@ -142756,9 +142861,15 @@ export const CONTRACT = {
|
|
|
142756
142861
|
"creatorName": {
|
|
142757
142862
|
"type": "string"
|
|
142758
142863
|
},
|
|
142864
|
+
"creatorId": {
|
|
142865
|
+
"type": "string"
|
|
142866
|
+
},
|
|
142759
142867
|
"creatorEmail": {
|
|
142760
142868
|
"type": "string"
|
|
142761
142869
|
},
|
|
142870
|
+
"creatorImage": {
|
|
142871
|
+
"type": "string"
|
|
142872
|
+
},
|
|
142762
142873
|
"trackedChange": {
|
|
142763
142874
|
"type": "boolean"
|
|
142764
142875
|
},
|
|
@@ -142930,6 +143041,15 @@ export const CONTRACT = {
|
|
|
142930
143041
|
"address": {
|
|
142931
143042
|
"$ref": "#/$defs/CommentAddress"
|
|
142932
143043
|
},
|
|
143044
|
+
"externalId": {
|
|
143045
|
+
"type": "string",
|
|
143046
|
+
"description": "Caller-owned durable integration id, distinct from the Word-compatible comment id."
|
|
143047
|
+
},
|
|
143048
|
+
"metadata": {
|
|
143049
|
+
"type": "object",
|
|
143050
|
+
"additionalProperties": true,
|
|
143051
|
+
"description": "Caller-owned JSON metadata persisted with the comment."
|
|
143052
|
+
},
|
|
142933
143053
|
"importedId": {
|
|
142934
143054
|
"type": "string"
|
|
142935
143055
|
},
|
|
@@ -142985,9 +143105,15 @@ export const CONTRACT = {
|
|
|
142985
143105
|
"creatorName": {
|
|
142986
143106
|
"type": "string"
|
|
142987
143107
|
},
|
|
143108
|
+
"creatorId": {
|
|
143109
|
+
"type": "string"
|
|
143110
|
+
},
|
|
142988
143111
|
"creatorEmail": {
|
|
142989
143112
|
"type": "string"
|
|
142990
143113
|
},
|
|
143114
|
+
"creatorImage": {
|
|
143115
|
+
"type": "string"
|
|
143116
|
+
},
|
|
142991
143117
|
"trackedChange": {
|
|
142992
143118
|
"type": "boolean"
|
|
142993
143119
|
},
|
|
@@ -143898,6 +144024,34 @@ export const CONTRACT = {
|
|
|
143898
144024
|
}
|
|
143899
144025
|
},
|
|
143900
144026
|
"additionalProperties": false
|
|
144027
|
+
},
|
|
144028
|
+
"customAttributes": {
|
|
144029
|
+
"type": "array",
|
|
144030
|
+
"items": {
|
|
144031
|
+
"type": "object",
|
|
144032
|
+
"properties": {
|
|
144033
|
+
"name": {
|
|
144034
|
+
"type": "string"
|
|
144035
|
+
},
|
|
144036
|
+
"namespaceUri": {
|
|
144037
|
+
"type": "string"
|
|
144038
|
+
},
|
|
144039
|
+
"localName": {
|
|
144040
|
+
"type": "string"
|
|
144041
|
+
},
|
|
144042
|
+
"value": {
|
|
144043
|
+
"type": "string"
|
|
144044
|
+
}
|
|
144045
|
+
},
|
|
144046
|
+
"additionalProperties": false,
|
|
144047
|
+
"required": [
|
|
144048
|
+
"name",
|
|
144049
|
+
"namespaceUri",
|
|
144050
|
+
"localName",
|
|
144051
|
+
"value"
|
|
144052
|
+
]
|
|
144053
|
+
},
|
|
144054
|
+
"description": "Unknown extension attributes in document order; exact duplicates are removed and conflicting values are retained."
|
|
143901
144055
|
}
|
|
143902
144056
|
},
|
|
143903
144057
|
"additionalProperties": false,
|
|
@@ -144858,6 +145012,34 @@ export const CONTRACT = {
|
|
|
144858
145012
|
}
|
|
144859
145013
|
},
|
|
144860
145014
|
"additionalProperties": false
|
|
145015
|
+
},
|
|
145016
|
+
"customAttributes": {
|
|
145017
|
+
"type": "array",
|
|
145018
|
+
"items": {
|
|
145019
|
+
"type": "object",
|
|
145020
|
+
"properties": {
|
|
145021
|
+
"name": {
|
|
145022
|
+
"type": "string"
|
|
145023
|
+
},
|
|
145024
|
+
"namespaceUri": {
|
|
145025
|
+
"type": "string"
|
|
145026
|
+
},
|
|
145027
|
+
"localName": {
|
|
145028
|
+
"type": "string"
|
|
145029
|
+
},
|
|
145030
|
+
"value": {
|
|
145031
|
+
"type": "string"
|
|
145032
|
+
}
|
|
145033
|
+
},
|
|
145034
|
+
"additionalProperties": false,
|
|
145035
|
+
"required": [
|
|
145036
|
+
"name",
|
|
145037
|
+
"namespaceUri",
|
|
145038
|
+
"localName",
|
|
145039
|
+
"value"
|
|
145040
|
+
]
|
|
145041
|
+
},
|
|
145042
|
+
"description": "Unknown extension attributes in document order; exact duplicates are removed and conflicting values are retained."
|
|
144861
145043
|
}
|
|
144862
145044
|
},
|
|
144863
145045
|
"additionalProperties": false,
|
|
@@ -222828,6 +223010,9 @@ export const CONTRACT = {
|
|
|
222828
223010
|
},
|
|
222829
223011
|
"text": {
|
|
222830
223012
|
"type": "string"
|
|
223013
|
+
},
|
|
223014
|
+
"isEmpty": {
|
|
223015
|
+
"type": "boolean"
|
|
222831
223016
|
}
|
|
222832
223017
|
},
|
|
222833
223018
|
"additionalProperties": false,
|
|
@@ -223032,6 +223217,9 @@ export const CONTRACT = {
|
|
|
223032
223217
|
},
|
|
223033
223218
|
"text": {
|
|
223034
223219
|
"type": "string"
|
|
223220
|
+
},
|
|
223221
|
+
"isEmpty": {
|
|
223222
|
+
"type": "boolean"
|
|
223035
223223
|
}
|
|
223036
223224
|
},
|
|
223037
223225
|
"additionalProperties": false,
|
|
@@ -223211,6 +223399,9 @@ export const CONTRACT = {
|
|
|
223211
223399
|
},
|
|
223212
223400
|
"text": {
|
|
223213
223401
|
"type": "string"
|
|
223402
|
+
},
|
|
223403
|
+
"isEmpty": {
|
|
223404
|
+
"type": "boolean"
|
|
223214
223405
|
}
|
|
223215
223406
|
},
|
|
223216
223407
|
"additionalProperties": false,
|
|
@@ -223389,6 +223580,9 @@ export const CONTRACT = {
|
|
|
223389
223580
|
},
|
|
223390
223581
|
"text": {
|
|
223391
223582
|
"type": "string"
|
|
223583
|
+
},
|
|
223584
|
+
"isEmpty": {
|
|
223585
|
+
"type": "boolean"
|
|
223392
223586
|
}
|
|
223393
223587
|
},
|
|
223394
223588
|
"additionalProperties": false,
|
|
@@ -223567,6 +223761,9 @@ export const CONTRACT = {
|
|
|
223567
223761
|
},
|
|
223568
223762
|
"text": {
|
|
223569
223763
|
"type": "string"
|
|
223764
|
+
},
|
|
223765
|
+
"isEmpty": {
|
|
223766
|
+
"type": "boolean"
|
|
223570
223767
|
}
|
|
223571
223768
|
},
|
|
223572
223769
|
"additionalProperties": false,
|
|
@@ -223792,6 +223989,9 @@ export const CONTRACT = {
|
|
|
223792
223989
|
},
|
|
223793
223990
|
"text": {
|
|
223794
223991
|
"type": "string"
|
|
223992
|
+
},
|
|
223993
|
+
"isEmpty": {
|
|
223994
|
+
"type": "boolean"
|
|
223795
223995
|
}
|
|
223796
223996
|
},
|
|
223797
223997
|
"additionalProperties": false,
|
|
@@ -223998,6 +224198,9 @@ export const CONTRACT = {
|
|
|
223998
224198
|
},
|
|
223999
224199
|
"text": {
|
|
224000
224200
|
"type": "string"
|
|
224201
|
+
},
|
|
224202
|
+
"isEmpty": {
|
|
224203
|
+
"type": "boolean"
|
|
224001
224204
|
}
|
|
224002
224205
|
},
|
|
224003
224206
|
"additionalProperties": false,
|
|
@@ -235574,6 +235777,9 @@ export const CONTRACT = {
|
|
|
235574
235777
|
},
|
|
235575
235778
|
"text": {
|
|
235576
235779
|
"type": "string"
|
|
235780
|
+
},
|
|
235781
|
+
"isEmpty": {
|
|
235782
|
+
"type": "boolean"
|
|
235577
235783
|
}
|
|
235578
235784
|
},
|
|
235579
235785
|
"additionalProperties": false,
|
|
@@ -249249,159 +249455,355 @@ export const CONTRACT = {
|
|
|
249249
249455
|
"start",
|
|
249250
249456
|
"end"
|
|
249251
249457
|
]
|
|
249252
|
-
}
|
|
249253
|
-
|
|
249254
|
-
|
|
249255
|
-
|
|
249256
|
-
|
|
249257
|
-
|
|
249258
|
-
|
|
249259
|
-
|
|
249260
|
-
|
|
249261
|
-
|
|
249262
|
-
|
|
249263
|
-
|
|
249264
|
-
|
|
249265
|
-
|
|
249266
|
-
|
|
249267
|
-
|
|
249268
|
-
|
|
249269
|
-
|
|
249270
|
-
|
|
249271
|
-
|
|
249272
|
-
|
|
249273
|
-
|
|
249274
|
-
|
|
249275
|
-
|
|
249276
|
-
|
|
249277
|
-
|
|
249278
|
-
|
|
249279
|
-
|
|
249280
|
-
|
|
249281
|
-
|
|
249282
|
-
|
|
249283
|
-
|
|
249284
|
-
|
|
249285
|
-
|
|
249286
|
-
|
|
249287
|
-
|
|
249288
|
-
|
|
249289
|
-
|
|
249290
|
-
|
|
249291
|
-
|
|
249292
|
-
|
|
249293
|
-
|
|
249294
|
-
|
|
249295
|
-
|
|
249296
|
-
|
|
249297
|
-
|
|
249298
|
-
|
|
249299
|
-
|
|
249300
|
-
|
|
249301
|
-
|
|
249302
|
-
|
|
249303
|
-
|
|
249304
|
-
|
|
249305
|
-
|
|
249306
|
-
|
|
249307
|
-
|
|
249308
|
-
|
|
249309
|
-
|
|
249310
|
-
|
|
249311
|
-
|
|
249312
|
-
|
|
249313
|
-
|
|
249314
|
-
|
|
249315
|
-
|
|
249316
|
-
|
|
249317
|
-
|
|
249318
|
-
|
|
249319
|
-
|
|
249320
|
-
|
|
249321
|
-
|
|
249322
|
-
|
|
249323
|
-
|
|
249324
|
-
|
|
249325
|
-
|
|
249326
|
-
|
|
249327
|
-
|
|
249328
|
-
|
|
249329
|
-
|
|
249330
|
-
|
|
249331
|
-
|
|
249332
|
-
|
|
249333
|
-
|
|
249334
|
-
|
|
249335
|
-
|
|
249336
|
-
|
|
249337
|
-
|
|
249338
|
-
|
|
249339
|
-
|
|
249340
|
-
|
|
249341
|
-
|
|
249342
|
-
|
|
249343
|
-
|
|
249344
|
-
|
|
249345
|
-
|
|
249346
|
-
|
|
249347
|
-
|
|
249348
|
-
|
|
249349
|
-
|
|
249350
|
-
|
|
249351
|
-
|
|
249352
|
-
|
|
249353
|
-
|
|
249354
|
-
|
|
249355
|
-
|
|
249356
|
-
|
|
249357
|
-
|
|
249358
|
-
|
|
249359
|
-
|
|
249360
|
-
|
|
249361
|
-
|
|
249362
|
-
|
|
249363
|
-
|
|
249364
|
-
|
|
249365
|
-
|
|
249366
|
-
|
|
249367
|
-
|
|
249368
|
-
|
|
249369
|
-
|
|
249370
|
-
|
|
249371
|
-
|
|
249372
|
-
|
|
249373
|
-
|
|
249374
|
-
|
|
249375
|
-
|
|
249376
|
-
|
|
249377
|
-
|
|
249378
|
-
|
|
249379
|
-
|
|
249380
|
-
|
|
249381
|
-
|
|
249382
|
-
|
|
249383
|
-
|
|
249384
|
-
"
|
|
249385
|
-
|
|
249386
|
-
|
|
249387
|
-
|
|
249388
|
-
|
|
249389
|
-
|
|
249390
|
-
|
|
249391
|
-
|
|
249392
|
-
},
|
|
249393
|
-
"
|
|
249394
|
-
"
|
|
249395
|
-
|
|
249396
|
-
|
|
249397
|
-
|
|
249398
|
-
|
|
249399
|
-
|
|
249400
|
-
"
|
|
249401
|
-
|
|
249402
|
-
|
|
249403
|
-
|
|
249404
|
-
|
|
249458
|
+
},
|
|
249459
|
+
"story": {
|
|
249460
|
+
"oneOf": [
|
|
249461
|
+
{
|
|
249462
|
+
"type": "object",
|
|
249463
|
+
"properties": {
|
|
249464
|
+
"kind": {
|
|
249465
|
+
"const": "story"
|
|
249466
|
+
},
|
|
249467
|
+
"storyType": {
|
|
249468
|
+
"const": "body"
|
|
249469
|
+
}
|
|
249470
|
+
},
|
|
249471
|
+
"required": [
|
|
249472
|
+
"kind",
|
|
249473
|
+
"storyType"
|
|
249474
|
+
]
|
|
249475
|
+
},
|
|
249476
|
+
{
|
|
249477
|
+
"type": "object",
|
|
249478
|
+
"properties": {
|
|
249479
|
+
"kind": {
|
|
249480
|
+
"const": "story"
|
|
249481
|
+
},
|
|
249482
|
+
"storyType": {
|
|
249483
|
+
"const": "headerFooterSlot"
|
|
249484
|
+
},
|
|
249485
|
+
"section": {
|
|
249486
|
+
"type": "object",
|
|
249487
|
+
"properties": {
|
|
249488
|
+
"kind": {
|
|
249489
|
+
"const": "section"
|
|
249490
|
+
},
|
|
249491
|
+
"sectionId": {
|
|
249492
|
+
"type": "string"
|
|
249493
|
+
}
|
|
249494
|
+
},
|
|
249495
|
+
"required": [
|
|
249496
|
+
"kind",
|
|
249497
|
+
"sectionId"
|
|
249498
|
+
]
|
|
249499
|
+
},
|
|
249500
|
+
"headerFooterKind": {
|
|
249501
|
+
"oneOf": [
|
|
249502
|
+
{
|
|
249503
|
+
"const": "header"
|
|
249504
|
+
},
|
|
249505
|
+
{
|
|
249506
|
+
"const": "footer"
|
|
249507
|
+
}
|
|
249508
|
+
]
|
|
249509
|
+
},
|
|
249510
|
+
"variant": {
|
|
249511
|
+
"oneOf": [
|
|
249512
|
+
{
|
|
249513
|
+
"const": "default"
|
|
249514
|
+
},
|
|
249515
|
+
{
|
|
249516
|
+
"const": "first"
|
|
249517
|
+
},
|
|
249518
|
+
{
|
|
249519
|
+
"const": "even"
|
|
249520
|
+
}
|
|
249521
|
+
]
|
|
249522
|
+
},
|
|
249523
|
+
"resolution": {
|
|
249524
|
+
"oneOf": [
|
|
249525
|
+
{
|
|
249526
|
+
"const": "effective"
|
|
249527
|
+
},
|
|
249528
|
+
{
|
|
249529
|
+
"const": "explicit"
|
|
249530
|
+
}
|
|
249531
|
+
]
|
|
249532
|
+
},
|
|
249533
|
+
"onWrite": {
|
|
249534
|
+
"oneOf": [
|
|
249535
|
+
{
|
|
249536
|
+
"const": "materializeIfInherited"
|
|
249537
|
+
},
|
|
249538
|
+
{
|
|
249539
|
+
"const": "editResolvedPart"
|
|
249540
|
+
},
|
|
249541
|
+
{
|
|
249542
|
+
"const": "error"
|
|
249543
|
+
}
|
|
249544
|
+
]
|
|
249545
|
+
}
|
|
249546
|
+
},
|
|
249547
|
+
"required": [
|
|
249548
|
+
"kind",
|
|
249549
|
+
"storyType",
|
|
249550
|
+
"section",
|
|
249551
|
+
"headerFooterKind",
|
|
249552
|
+
"variant"
|
|
249553
|
+
]
|
|
249554
|
+
},
|
|
249555
|
+
{
|
|
249556
|
+
"type": "object",
|
|
249557
|
+
"properties": {
|
|
249558
|
+
"kind": {
|
|
249559
|
+
"const": "story"
|
|
249560
|
+
},
|
|
249561
|
+
"storyType": {
|
|
249562
|
+
"const": "headerFooterPart"
|
|
249563
|
+
},
|
|
249564
|
+
"refId": {
|
|
249565
|
+
"type": "string"
|
|
249566
|
+
}
|
|
249567
|
+
},
|
|
249568
|
+
"required": [
|
|
249569
|
+
"kind",
|
|
249570
|
+
"storyType",
|
|
249571
|
+
"refId"
|
|
249572
|
+
]
|
|
249573
|
+
},
|
|
249574
|
+
{
|
|
249575
|
+
"type": "object",
|
|
249576
|
+
"properties": {
|
|
249577
|
+
"kind": {
|
|
249578
|
+
"const": "story"
|
|
249579
|
+
},
|
|
249580
|
+
"storyType": {
|
|
249581
|
+
"const": "footnote"
|
|
249582
|
+
},
|
|
249583
|
+
"noteId": {
|
|
249584
|
+
"type": "string"
|
|
249585
|
+
}
|
|
249586
|
+
},
|
|
249587
|
+
"required": [
|
|
249588
|
+
"kind",
|
|
249589
|
+
"storyType",
|
|
249590
|
+
"noteId"
|
|
249591
|
+
]
|
|
249592
|
+
},
|
|
249593
|
+
{
|
|
249594
|
+
"type": "object",
|
|
249595
|
+
"properties": {
|
|
249596
|
+
"kind": {
|
|
249597
|
+
"const": "story"
|
|
249598
|
+
},
|
|
249599
|
+
"storyType": {
|
|
249600
|
+
"const": "endnote"
|
|
249601
|
+
},
|
|
249602
|
+
"noteId": {
|
|
249603
|
+
"type": "string"
|
|
249604
|
+
}
|
|
249605
|
+
},
|
|
249606
|
+
"required": [
|
|
249607
|
+
"kind",
|
|
249608
|
+
"storyType",
|
|
249609
|
+
"noteId"
|
|
249610
|
+
]
|
|
249611
|
+
},
|
|
249612
|
+
{
|
|
249613
|
+
"type": "object",
|
|
249614
|
+
"properties": {
|
|
249615
|
+
"kind": {
|
|
249616
|
+
"const": "story"
|
|
249617
|
+
},
|
|
249618
|
+
"storyType": {
|
|
249619
|
+
"const": "textbox"
|
|
249620
|
+
},
|
|
249621
|
+
"textboxId": {
|
|
249622
|
+
"type": "string"
|
|
249623
|
+
}
|
|
249624
|
+
},
|
|
249625
|
+
"required": [
|
|
249626
|
+
"kind",
|
|
249627
|
+
"storyType",
|
|
249628
|
+
"textboxId"
|
|
249629
|
+
]
|
|
249630
|
+
}
|
|
249631
|
+
],
|
|
249632
|
+
"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."
|
|
249633
|
+
},
|
|
249634
|
+
"storyId": {
|
|
249635
|
+
"type": "string"
|
|
249636
|
+
},
|
|
249637
|
+
"fieldId": {
|
|
249638
|
+
"type": "string"
|
|
249639
|
+
},
|
|
249640
|
+
"occurrenceIndex": {
|
|
249641
|
+
"type": "number"
|
|
249642
|
+
}
|
|
249643
|
+
},
|
|
249644
|
+
"required": [
|
|
249645
|
+
"kind",
|
|
249646
|
+
"nodeType",
|
|
249647
|
+
"anchor"
|
|
249648
|
+
]
|
|
249649
|
+
}
|
|
249650
|
+
}
|
|
249651
|
+
],
|
|
249652
|
+
"constraints": null,
|
|
249653
|
+
"mutates": false,
|
|
249654
|
+
"idempotency": "idempotent",
|
|
249655
|
+
"supportsTrackedMode": false,
|
|
249656
|
+
"supportsDryRun": false,
|
|
249657
|
+
"inputSchema": {
|
|
249658
|
+
"type": "object",
|
|
249659
|
+
"properties": {
|
|
249660
|
+
"target": {
|
|
249661
|
+
"type": "object",
|
|
249662
|
+
"properties": {
|
|
249663
|
+
"kind": {
|
|
249664
|
+
"const": "inline"
|
|
249665
|
+
},
|
|
249666
|
+
"nodeType": {
|
|
249667
|
+
"const": "citation"
|
|
249668
|
+
},
|
|
249669
|
+
"anchor": {
|
|
249670
|
+
"$ref": "#/$defs/InlineAnchor"
|
|
249671
|
+
},
|
|
249672
|
+
"story": {
|
|
249673
|
+
"$ref": "#/$defs/StoryLocator"
|
|
249674
|
+
},
|
|
249675
|
+
"storyId": {
|
|
249676
|
+
"type": "string"
|
|
249677
|
+
},
|
|
249678
|
+
"fieldId": {
|
|
249679
|
+
"type": "string"
|
|
249680
|
+
},
|
|
249681
|
+
"occurrenceIndex": {
|
|
249682
|
+
"type": "integer"
|
|
249683
|
+
}
|
|
249684
|
+
},
|
|
249685
|
+
"additionalProperties": false,
|
|
249686
|
+
"required": [
|
|
249687
|
+
"kind",
|
|
249688
|
+
"nodeType",
|
|
249689
|
+
"anchor"
|
|
249690
|
+
]
|
|
249691
|
+
}
|
|
249692
|
+
},
|
|
249693
|
+
"additionalProperties": false,
|
|
249694
|
+
"required": [
|
|
249695
|
+
"target"
|
|
249696
|
+
]
|
|
249697
|
+
},
|
|
249698
|
+
"outputSchema": {
|
|
249699
|
+
"type": "object"
|
|
249700
|
+
}
|
|
249701
|
+
},
|
|
249702
|
+
"doc.citations.insert": {
|
|
249703
|
+
"operationId": "doc.citations.insert",
|
|
249704
|
+
"sdkSurface": "document",
|
|
249705
|
+
"command": "citations insert",
|
|
249706
|
+
"commandTokens": [
|
|
249707
|
+
"citations",
|
|
249708
|
+
"insert"
|
|
249709
|
+
],
|
|
249710
|
+
"category": "core",
|
|
249711
|
+
"description": "Insert a new citation mark at a target location.",
|
|
249712
|
+
"requiresDocumentContext": true,
|
|
249713
|
+
"docRequirement": "optional",
|
|
249714
|
+
"responseEnvelopeKey": "result",
|
|
249715
|
+
"params": [
|
|
249716
|
+
{
|
|
249717
|
+
"name": "doc",
|
|
249718
|
+
"kind": "doc",
|
|
249719
|
+
"type": "string",
|
|
249720
|
+
"description": "Document path. Optional when a session is already open."
|
|
249721
|
+
},
|
|
249722
|
+
{
|
|
249723
|
+
"name": "sessionId",
|
|
249724
|
+
"kind": "flag",
|
|
249725
|
+
"type": "string",
|
|
249726
|
+
"flag": "session",
|
|
249727
|
+
"description": "Session ID for multi-session workflows. Optional when only one session is open."
|
|
249728
|
+
},
|
|
249729
|
+
{
|
|
249730
|
+
"name": "out",
|
|
249731
|
+
"kind": "flag",
|
|
249732
|
+
"type": "string",
|
|
249733
|
+
"agentVisible": false
|
|
249734
|
+
},
|
|
249735
|
+
{
|
|
249736
|
+
"name": "force",
|
|
249737
|
+
"kind": "flag",
|
|
249738
|
+
"type": "boolean",
|
|
249739
|
+
"description": "Bypass confirmation checks."
|
|
249740
|
+
},
|
|
249741
|
+
{
|
|
249742
|
+
"name": "expectedRevision",
|
|
249743
|
+
"kind": "flag",
|
|
249744
|
+
"type": "number",
|
|
249745
|
+
"flag": "expected-revision",
|
|
249746
|
+
"agentVisible": false
|
|
249747
|
+
},
|
|
249748
|
+
{
|
|
249749
|
+
"name": "changeMode",
|
|
249750
|
+
"kind": "flag",
|
|
249751
|
+
"type": "string",
|
|
249752
|
+
"flag": "change-mode",
|
|
249753
|
+
"schema": {
|
|
249754
|
+
"type": "string"
|
|
249755
|
+
},
|
|
249756
|
+
"description": "Edit mode: \"direct\" applies changes immediately, \"tracked\" records as suggestions."
|
|
249757
|
+
},
|
|
249758
|
+
{
|
|
249759
|
+
"name": "dryRun",
|
|
249760
|
+
"kind": "flag",
|
|
249761
|
+
"type": "boolean",
|
|
249762
|
+
"flag": "dry-run",
|
|
249763
|
+
"description": "Preview the result without applying changes."
|
|
249764
|
+
},
|
|
249765
|
+
{
|
|
249766
|
+
"name": "at",
|
|
249767
|
+
"kind": "jsonFlag",
|
|
249768
|
+
"type": "json",
|
|
249769
|
+
"flag": "at-json",
|
|
249770
|
+
"required": true,
|
|
249771
|
+
"schema": {
|
|
249772
|
+
"type": "object",
|
|
249773
|
+
"properties": {
|
|
249774
|
+
"kind": {
|
|
249775
|
+
"const": "text"
|
|
249776
|
+
},
|
|
249777
|
+
"segments": {
|
|
249778
|
+
"type": "array",
|
|
249779
|
+
"items": {
|
|
249780
|
+
"type": "object",
|
|
249781
|
+
"properties": {
|
|
249782
|
+
"blockId": {
|
|
249783
|
+
"type": "string"
|
|
249784
|
+
},
|
|
249785
|
+
"range": {
|
|
249786
|
+
"type": "object",
|
|
249787
|
+
"properties": {
|
|
249788
|
+
"start": {
|
|
249789
|
+
"type": "number"
|
|
249790
|
+
},
|
|
249791
|
+
"end": {
|
|
249792
|
+
"type": "number"
|
|
249793
|
+
}
|
|
249794
|
+
},
|
|
249795
|
+
"required": [
|
|
249796
|
+
"start",
|
|
249797
|
+
"end"
|
|
249798
|
+
]
|
|
249799
|
+
}
|
|
249800
|
+
},
|
|
249801
|
+
"required": [
|
|
249802
|
+
"blockId",
|
|
249803
|
+
"range"
|
|
249804
|
+
]
|
|
249805
|
+
},
|
|
249806
|
+
"minItems": 1
|
|
249405
249807
|
},
|
|
249406
249808
|
"story": {
|
|
249407
249809
|
"oneOf": [
|
|
@@ -249642,6 +250044,18 @@ export const CONTRACT = {
|
|
|
249642
250044
|
},
|
|
249643
250045
|
"anchor": {
|
|
249644
250046
|
"$ref": "#/$defs/InlineAnchor"
|
|
250047
|
+
},
|
|
250048
|
+
"story": {
|
|
250049
|
+
"$ref": "#/$defs/StoryLocator"
|
|
250050
|
+
},
|
|
250051
|
+
"storyId": {
|
|
250052
|
+
"type": "string"
|
|
250053
|
+
},
|
|
250054
|
+
"fieldId": {
|
|
250055
|
+
"type": "string"
|
|
250056
|
+
},
|
|
250057
|
+
"occurrenceIndex": {
|
|
250058
|
+
"type": "integer"
|
|
249645
250059
|
}
|
|
249646
250060
|
},
|
|
249647
250061
|
"additionalProperties": false,
|
|
@@ -249707,6 +250121,18 @@ export const CONTRACT = {
|
|
|
249707
250121
|
},
|
|
249708
250122
|
"anchor": {
|
|
249709
250123
|
"$ref": "#/$defs/InlineAnchor"
|
|
250124
|
+
},
|
|
250125
|
+
"story": {
|
|
250126
|
+
"$ref": "#/$defs/StoryLocator"
|
|
250127
|
+
},
|
|
250128
|
+
"storyId": {
|
|
250129
|
+
"type": "string"
|
|
250130
|
+
},
|
|
250131
|
+
"fieldId": {
|
|
250132
|
+
"type": "string"
|
|
250133
|
+
},
|
|
250134
|
+
"occurrenceIndex": {
|
|
250135
|
+
"type": "integer"
|
|
249710
250136
|
}
|
|
249711
250137
|
},
|
|
249712
250138
|
"additionalProperties": false,
|
|
@@ -249870,6 +250296,190 @@ export const CONTRACT = {
|
|
|
249870
250296
|
"start",
|
|
249871
250297
|
"end"
|
|
249872
250298
|
]
|
|
250299
|
+
},
|
|
250300
|
+
"story": {
|
|
250301
|
+
"oneOf": [
|
|
250302
|
+
{
|
|
250303
|
+
"type": "object",
|
|
250304
|
+
"properties": {
|
|
250305
|
+
"kind": {
|
|
250306
|
+
"const": "story"
|
|
250307
|
+
},
|
|
250308
|
+
"storyType": {
|
|
250309
|
+
"const": "body"
|
|
250310
|
+
}
|
|
250311
|
+
},
|
|
250312
|
+
"required": [
|
|
250313
|
+
"kind",
|
|
250314
|
+
"storyType"
|
|
250315
|
+
]
|
|
250316
|
+
},
|
|
250317
|
+
{
|
|
250318
|
+
"type": "object",
|
|
250319
|
+
"properties": {
|
|
250320
|
+
"kind": {
|
|
250321
|
+
"const": "story"
|
|
250322
|
+
},
|
|
250323
|
+
"storyType": {
|
|
250324
|
+
"const": "headerFooterSlot"
|
|
250325
|
+
},
|
|
250326
|
+
"section": {
|
|
250327
|
+
"type": "object",
|
|
250328
|
+
"properties": {
|
|
250329
|
+
"kind": {
|
|
250330
|
+
"const": "section"
|
|
250331
|
+
},
|
|
250332
|
+
"sectionId": {
|
|
250333
|
+
"type": "string"
|
|
250334
|
+
}
|
|
250335
|
+
},
|
|
250336
|
+
"required": [
|
|
250337
|
+
"kind",
|
|
250338
|
+
"sectionId"
|
|
250339
|
+
]
|
|
250340
|
+
},
|
|
250341
|
+
"headerFooterKind": {
|
|
250342
|
+
"oneOf": [
|
|
250343
|
+
{
|
|
250344
|
+
"const": "header"
|
|
250345
|
+
},
|
|
250346
|
+
{
|
|
250347
|
+
"const": "footer"
|
|
250348
|
+
}
|
|
250349
|
+
]
|
|
250350
|
+
},
|
|
250351
|
+
"variant": {
|
|
250352
|
+
"oneOf": [
|
|
250353
|
+
{
|
|
250354
|
+
"const": "default"
|
|
250355
|
+
},
|
|
250356
|
+
{
|
|
250357
|
+
"const": "first"
|
|
250358
|
+
},
|
|
250359
|
+
{
|
|
250360
|
+
"const": "even"
|
|
250361
|
+
}
|
|
250362
|
+
]
|
|
250363
|
+
},
|
|
250364
|
+
"resolution": {
|
|
250365
|
+
"oneOf": [
|
|
250366
|
+
{
|
|
250367
|
+
"const": "effective"
|
|
250368
|
+
},
|
|
250369
|
+
{
|
|
250370
|
+
"const": "explicit"
|
|
250371
|
+
}
|
|
250372
|
+
]
|
|
250373
|
+
},
|
|
250374
|
+
"onWrite": {
|
|
250375
|
+
"oneOf": [
|
|
250376
|
+
{
|
|
250377
|
+
"const": "materializeIfInherited"
|
|
250378
|
+
},
|
|
250379
|
+
{
|
|
250380
|
+
"const": "editResolvedPart"
|
|
250381
|
+
},
|
|
250382
|
+
{
|
|
250383
|
+
"const": "error"
|
|
250384
|
+
}
|
|
250385
|
+
]
|
|
250386
|
+
}
|
|
250387
|
+
},
|
|
250388
|
+
"required": [
|
|
250389
|
+
"kind",
|
|
250390
|
+
"storyType",
|
|
250391
|
+
"section",
|
|
250392
|
+
"headerFooterKind",
|
|
250393
|
+
"variant"
|
|
250394
|
+
]
|
|
250395
|
+
},
|
|
250396
|
+
{
|
|
250397
|
+
"type": "object",
|
|
250398
|
+
"properties": {
|
|
250399
|
+
"kind": {
|
|
250400
|
+
"const": "story"
|
|
250401
|
+
},
|
|
250402
|
+
"storyType": {
|
|
250403
|
+
"const": "headerFooterPart"
|
|
250404
|
+
},
|
|
250405
|
+
"refId": {
|
|
250406
|
+
"type": "string"
|
|
250407
|
+
}
|
|
250408
|
+
},
|
|
250409
|
+
"required": [
|
|
250410
|
+
"kind",
|
|
250411
|
+
"storyType",
|
|
250412
|
+
"refId"
|
|
250413
|
+
]
|
|
250414
|
+
},
|
|
250415
|
+
{
|
|
250416
|
+
"type": "object",
|
|
250417
|
+
"properties": {
|
|
250418
|
+
"kind": {
|
|
250419
|
+
"const": "story"
|
|
250420
|
+
},
|
|
250421
|
+
"storyType": {
|
|
250422
|
+
"const": "footnote"
|
|
250423
|
+
},
|
|
250424
|
+
"noteId": {
|
|
250425
|
+
"type": "string"
|
|
250426
|
+
}
|
|
250427
|
+
},
|
|
250428
|
+
"required": [
|
|
250429
|
+
"kind",
|
|
250430
|
+
"storyType",
|
|
250431
|
+
"noteId"
|
|
250432
|
+
]
|
|
250433
|
+
},
|
|
250434
|
+
{
|
|
250435
|
+
"type": "object",
|
|
250436
|
+
"properties": {
|
|
250437
|
+
"kind": {
|
|
250438
|
+
"const": "story"
|
|
250439
|
+
},
|
|
250440
|
+
"storyType": {
|
|
250441
|
+
"const": "endnote"
|
|
250442
|
+
},
|
|
250443
|
+
"noteId": {
|
|
250444
|
+
"type": "string"
|
|
250445
|
+
}
|
|
250446
|
+
},
|
|
250447
|
+
"required": [
|
|
250448
|
+
"kind",
|
|
250449
|
+
"storyType",
|
|
250450
|
+
"noteId"
|
|
250451
|
+
]
|
|
250452
|
+
},
|
|
250453
|
+
{
|
|
250454
|
+
"type": "object",
|
|
250455
|
+
"properties": {
|
|
250456
|
+
"kind": {
|
|
250457
|
+
"const": "story"
|
|
250458
|
+
},
|
|
250459
|
+
"storyType": {
|
|
250460
|
+
"const": "textbox"
|
|
250461
|
+
},
|
|
250462
|
+
"textboxId": {
|
|
250463
|
+
"type": "string"
|
|
250464
|
+
}
|
|
250465
|
+
},
|
|
250466
|
+
"required": [
|
|
250467
|
+
"kind",
|
|
250468
|
+
"storyType",
|
|
250469
|
+
"textboxId"
|
|
250470
|
+
]
|
|
250471
|
+
}
|
|
250472
|
+
],
|
|
250473
|
+
"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."
|
|
250474
|
+
},
|
|
250475
|
+
"storyId": {
|
|
250476
|
+
"type": "string"
|
|
250477
|
+
},
|
|
250478
|
+
"fieldId": {
|
|
250479
|
+
"type": "string"
|
|
250480
|
+
},
|
|
250481
|
+
"occurrenceIndex": {
|
|
250482
|
+
"type": "number"
|
|
249873
250483
|
}
|
|
249874
250484
|
},
|
|
249875
250485
|
"required": [
|
|
@@ -249917,6 +250527,18 @@ export const CONTRACT = {
|
|
|
249917
250527
|
},
|
|
249918
250528
|
"anchor": {
|
|
249919
250529
|
"$ref": "#/$defs/InlineAnchor"
|
|
250530
|
+
},
|
|
250531
|
+
"story": {
|
|
250532
|
+
"$ref": "#/$defs/StoryLocator"
|
|
250533
|
+
},
|
|
250534
|
+
"storyId": {
|
|
250535
|
+
"type": "string"
|
|
250536
|
+
},
|
|
250537
|
+
"fieldId": {
|
|
250538
|
+
"type": "string"
|
|
250539
|
+
},
|
|
250540
|
+
"occurrenceIndex": {
|
|
250541
|
+
"type": "integer"
|
|
249920
250542
|
}
|
|
249921
250543
|
},
|
|
249922
250544
|
"additionalProperties": false,
|
|
@@ -249964,6 +250586,18 @@ export const CONTRACT = {
|
|
|
249964
250586
|
},
|
|
249965
250587
|
"anchor": {
|
|
249966
250588
|
"$ref": "#/$defs/InlineAnchor"
|
|
250589
|
+
},
|
|
250590
|
+
"story": {
|
|
250591
|
+
"$ref": "#/$defs/StoryLocator"
|
|
250592
|
+
},
|
|
250593
|
+
"storyId": {
|
|
250594
|
+
"type": "string"
|
|
250595
|
+
},
|
|
250596
|
+
"fieldId": {
|
|
250597
|
+
"type": "string"
|
|
250598
|
+
},
|
|
250599
|
+
"occurrenceIndex": {
|
|
250600
|
+
"type": "integer"
|
|
249967
250601
|
}
|
|
249968
250602
|
},
|
|
249969
250603
|
"additionalProperties": false,
|
|
@@ -250029,6 +250663,18 @@ export const CONTRACT = {
|
|
|
250029
250663
|
},
|
|
250030
250664
|
"anchor": {
|
|
250031
250665
|
"$ref": "#/$defs/InlineAnchor"
|
|
250666
|
+
},
|
|
250667
|
+
"story": {
|
|
250668
|
+
"$ref": "#/$defs/StoryLocator"
|
|
250669
|
+
},
|
|
250670
|
+
"storyId": {
|
|
250671
|
+
"type": "string"
|
|
250672
|
+
},
|
|
250673
|
+
"fieldId": {
|
|
250674
|
+
"type": "string"
|
|
250675
|
+
},
|
|
250676
|
+
"occurrenceIndex": {
|
|
250677
|
+
"type": "integer"
|
|
250032
250678
|
}
|
|
250033
250679
|
},
|
|
250034
250680
|
"additionalProperties": false,
|
|
@@ -250192,6 +250838,190 @@ export const CONTRACT = {
|
|
|
250192
250838
|
"start",
|
|
250193
250839
|
"end"
|
|
250194
250840
|
]
|
|
250841
|
+
},
|
|
250842
|
+
"story": {
|
|
250843
|
+
"oneOf": [
|
|
250844
|
+
{
|
|
250845
|
+
"type": "object",
|
|
250846
|
+
"properties": {
|
|
250847
|
+
"kind": {
|
|
250848
|
+
"const": "story"
|
|
250849
|
+
},
|
|
250850
|
+
"storyType": {
|
|
250851
|
+
"const": "body"
|
|
250852
|
+
}
|
|
250853
|
+
},
|
|
250854
|
+
"required": [
|
|
250855
|
+
"kind",
|
|
250856
|
+
"storyType"
|
|
250857
|
+
]
|
|
250858
|
+
},
|
|
250859
|
+
{
|
|
250860
|
+
"type": "object",
|
|
250861
|
+
"properties": {
|
|
250862
|
+
"kind": {
|
|
250863
|
+
"const": "story"
|
|
250864
|
+
},
|
|
250865
|
+
"storyType": {
|
|
250866
|
+
"const": "headerFooterSlot"
|
|
250867
|
+
},
|
|
250868
|
+
"section": {
|
|
250869
|
+
"type": "object",
|
|
250870
|
+
"properties": {
|
|
250871
|
+
"kind": {
|
|
250872
|
+
"const": "section"
|
|
250873
|
+
},
|
|
250874
|
+
"sectionId": {
|
|
250875
|
+
"type": "string"
|
|
250876
|
+
}
|
|
250877
|
+
},
|
|
250878
|
+
"required": [
|
|
250879
|
+
"kind",
|
|
250880
|
+
"sectionId"
|
|
250881
|
+
]
|
|
250882
|
+
},
|
|
250883
|
+
"headerFooterKind": {
|
|
250884
|
+
"oneOf": [
|
|
250885
|
+
{
|
|
250886
|
+
"const": "header"
|
|
250887
|
+
},
|
|
250888
|
+
{
|
|
250889
|
+
"const": "footer"
|
|
250890
|
+
}
|
|
250891
|
+
]
|
|
250892
|
+
},
|
|
250893
|
+
"variant": {
|
|
250894
|
+
"oneOf": [
|
|
250895
|
+
{
|
|
250896
|
+
"const": "default"
|
|
250897
|
+
},
|
|
250898
|
+
{
|
|
250899
|
+
"const": "first"
|
|
250900
|
+
},
|
|
250901
|
+
{
|
|
250902
|
+
"const": "even"
|
|
250903
|
+
}
|
|
250904
|
+
]
|
|
250905
|
+
},
|
|
250906
|
+
"resolution": {
|
|
250907
|
+
"oneOf": [
|
|
250908
|
+
{
|
|
250909
|
+
"const": "effective"
|
|
250910
|
+
},
|
|
250911
|
+
{
|
|
250912
|
+
"const": "explicit"
|
|
250913
|
+
}
|
|
250914
|
+
]
|
|
250915
|
+
},
|
|
250916
|
+
"onWrite": {
|
|
250917
|
+
"oneOf": [
|
|
250918
|
+
{
|
|
250919
|
+
"const": "materializeIfInherited"
|
|
250920
|
+
},
|
|
250921
|
+
{
|
|
250922
|
+
"const": "editResolvedPart"
|
|
250923
|
+
},
|
|
250924
|
+
{
|
|
250925
|
+
"const": "error"
|
|
250926
|
+
}
|
|
250927
|
+
]
|
|
250928
|
+
}
|
|
250929
|
+
},
|
|
250930
|
+
"required": [
|
|
250931
|
+
"kind",
|
|
250932
|
+
"storyType",
|
|
250933
|
+
"section",
|
|
250934
|
+
"headerFooterKind",
|
|
250935
|
+
"variant"
|
|
250936
|
+
]
|
|
250937
|
+
},
|
|
250938
|
+
{
|
|
250939
|
+
"type": "object",
|
|
250940
|
+
"properties": {
|
|
250941
|
+
"kind": {
|
|
250942
|
+
"const": "story"
|
|
250943
|
+
},
|
|
250944
|
+
"storyType": {
|
|
250945
|
+
"const": "headerFooterPart"
|
|
250946
|
+
},
|
|
250947
|
+
"refId": {
|
|
250948
|
+
"type": "string"
|
|
250949
|
+
}
|
|
250950
|
+
},
|
|
250951
|
+
"required": [
|
|
250952
|
+
"kind",
|
|
250953
|
+
"storyType",
|
|
250954
|
+
"refId"
|
|
250955
|
+
]
|
|
250956
|
+
},
|
|
250957
|
+
{
|
|
250958
|
+
"type": "object",
|
|
250959
|
+
"properties": {
|
|
250960
|
+
"kind": {
|
|
250961
|
+
"const": "story"
|
|
250962
|
+
},
|
|
250963
|
+
"storyType": {
|
|
250964
|
+
"const": "footnote"
|
|
250965
|
+
},
|
|
250966
|
+
"noteId": {
|
|
250967
|
+
"type": "string"
|
|
250968
|
+
}
|
|
250969
|
+
},
|
|
250970
|
+
"required": [
|
|
250971
|
+
"kind",
|
|
250972
|
+
"storyType",
|
|
250973
|
+
"noteId"
|
|
250974
|
+
]
|
|
250975
|
+
},
|
|
250976
|
+
{
|
|
250977
|
+
"type": "object",
|
|
250978
|
+
"properties": {
|
|
250979
|
+
"kind": {
|
|
250980
|
+
"const": "story"
|
|
250981
|
+
},
|
|
250982
|
+
"storyType": {
|
|
250983
|
+
"const": "endnote"
|
|
250984
|
+
},
|
|
250985
|
+
"noteId": {
|
|
250986
|
+
"type": "string"
|
|
250987
|
+
}
|
|
250988
|
+
},
|
|
250989
|
+
"required": [
|
|
250990
|
+
"kind",
|
|
250991
|
+
"storyType",
|
|
250992
|
+
"noteId"
|
|
250993
|
+
]
|
|
250994
|
+
},
|
|
250995
|
+
{
|
|
250996
|
+
"type": "object",
|
|
250997
|
+
"properties": {
|
|
250998
|
+
"kind": {
|
|
250999
|
+
"const": "story"
|
|
251000
|
+
},
|
|
251001
|
+
"storyType": {
|
|
251002
|
+
"const": "textbox"
|
|
251003
|
+
},
|
|
251004
|
+
"textboxId": {
|
|
251005
|
+
"type": "string"
|
|
251006
|
+
}
|
|
251007
|
+
},
|
|
251008
|
+
"required": [
|
|
251009
|
+
"kind",
|
|
251010
|
+
"storyType",
|
|
251011
|
+
"textboxId"
|
|
251012
|
+
]
|
|
251013
|
+
}
|
|
251014
|
+
],
|
|
251015
|
+
"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."
|
|
251016
|
+
},
|
|
251017
|
+
"storyId": {
|
|
251018
|
+
"type": "string"
|
|
251019
|
+
},
|
|
251020
|
+
"fieldId": {
|
|
251021
|
+
"type": "string"
|
|
251022
|
+
},
|
|
251023
|
+
"occurrenceIndex": {
|
|
251024
|
+
"type": "number"
|
|
250195
251025
|
}
|
|
250196
251026
|
},
|
|
250197
251027
|
"required": [
|
|
@@ -250221,6 +251051,18 @@ export const CONTRACT = {
|
|
|
250221
251051
|
},
|
|
250222
251052
|
"anchor": {
|
|
250223
251053
|
"$ref": "#/$defs/InlineAnchor"
|
|
251054
|
+
},
|
|
251055
|
+
"story": {
|
|
251056
|
+
"$ref": "#/$defs/StoryLocator"
|
|
251057
|
+
},
|
|
251058
|
+
"storyId": {
|
|
251059
|
+
"type": "string"
|
|
251060
|
+
},
|
|
251061
|
+
"fieldId": {
|
|
251062
|
+
"type": "string"
|
|
251063
|
+
},
|
|
251064
|
+
"occurrenceIndex": {
|
|
251065
|
+
"type": "integer"
|
|
250224
251066
|
}
|
|
250225
251067
|
},
|
|
250226
251068
|
"additionalProperties": false,
|
|
@@ -250255,6 +251097,18 @@ export const CONTRACT = {
|
|
|
250255
251097
|
},
|
|
250256
251098
|
"anchor": {
|
|
250257
251099
|
"$ref": "#/$defs/InlineAnchor"
|
|
251100
|
+
},
|
|
251101
|
+
"story": {
|
|
251102
|
+
"$ref": "#/$defs/StoryLocator"
|
|
251103
|
+
},
|
|
251104
|
+
"storyId": {
|
|
251105
|
+
"type": "string"
|
|
251106
|
+
},
|
|
251107
|
+
"fieldId": {
|
|
251108
|
+
"type": "string"
|
|
251109
|
+
},
|
|
251110
|
+
"occurrenceIndex": {
|
|
251111
|
+
"type": "integer"
|
|
250258
251112
|
}
|
|
250259
251113
|
},
|
|
250260
251114
|
"additionalProperties": false,
|
|
@@ -250320,6 +251174,18 @@ export const CONTRACT = {
|
|
|
250320
251174
|
},
|
|
250321
251175
|
"anchor": {
|
|
250322
251176
|
"$ref": "#/$defs/InlineAnchor"
|
|
251177
|
+
},
|
|
251178
|
+
"story": {
|
|
251179
|
+
"$ref": "#/$defs/StoryLocator"
|
|
251180
|
+
},
|
|
251181
|
+
"storyId": {
|
|
251182
|
+
"type": "string"
|
|
251183
|
+
},
|
|
251184
|
+
"fieldId": {
|
|
251185
|
+
"type": "string"
|
|
251186
|
+
},
|
|
251187
|
+
"occurrenceIndex": {
|
|
251188
|
+
"type": "integer"
|
|
250323
251189
|
}
|
|
250324
251190
|
},
|
|
250325
251191
|
"additionalProperties": false,
|