@superdoc/sdk 2.0.0 → 2.1.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 +12 -12
- 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 +5 -5
- package/dist/embedded-tools.generated.js +5 -5
- package/dist/generated/client.d.ts +414 -0
- package/dist/generated/contract.cjs +1135 -331
- package/dist/generated/contract.js +1141 -331
- 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/__pycache__/__init__.cpython-312.pyc +0 -0
- package/tools/__pycache__/intent_dispatch_generated.cpython-312.pyc +0 -0
- 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
|
},
|
|
@@ -221342,6 +221462,9 @@ const CONTRACT = {
|
|
|
221342
221462
|
},
|
|
221343
221463
|
"text": {
|
|
221344
221464
|
"type": "string"
|
|
221465
|
+
},
|
|
221466
|
+
"isEmpty": {
|
|
221467
|
+
"type": "boolean"
|
|
221345
221468
|
}
|
|
221346
221469
|
},
|
|
221347
221470
|
"additionalProperties": false,
|
|
@@ -221546,6 +221669,9 @@ const CONTRACT = {
|
|
|
221546
221669
|
},
|
|
221547
221670
|
"text": {
|
|
221548
221671
|
"type": "string"
|
|
221672
|
+
},
|
|
221673
|
+
"isEmpty": {
|
|
221674
|
+
"type": "boolean"
|
|
221549
221675
|
}
|
|
221550
221676
|
},
|
|
221551
221677
|
"additionalProperties": false,
|
|
@@ -221725,6 +221851,9 @@ const CONTRACT = {
|
|
|
221725
221851
|
},
|
|
221726
221852
|
"text": {
|
|
221727
221853
|
"type": "string"
|
|
221854
|
+
},
|
|
221855
|
+
"isEmpty": {
|
|
221856
|
+
"type": "boolean"
|
|
221728
221857
|
}
|
|
221729
221858
|
},
|
|
221730
221859
|
"additionalProperties": false,
|
|
@@ -221903,184 +222032,190 @@ const CONTRACT = {
|
|
|
221903
222032
|
},
|
|
221904
222033
|
"text": {
|
|
221905
222034
|
"type": "string"
|
|
221906
|
-
}
|
|
221907
|
-
},
|
|
221908
|
-
"additionalProperties": false,
|
|
221909
|
-
"required": [
|
|
221910
|
-
"nodeType",
|
|
221911
|
-
"kind",
|
|
221912
|
-
"id",
|
|
221913
|
-
"controlType",
|
|
221914
|
-
"lockMode",
|
|
221915
|
-
"properties",
|
|
221916
|
-
"target"
|
|
221917
|
-
]
|
|
221918
|
-
}
|
|
221919
|
-
},
|
|
221920
|
-
"total": {
|
|
221921
|
-
"type": "integer"
|
|
221922
|
-
}
|
|
221923
|
-
},
|
|
221924
|
-
"additionalProperties": false,
|
|
221925
|
-
"required": [
|
|
221926
|
-
"items",
|
|
221927
|
-
"total"
|
|
221928
|
-
]
|
|
221929
|
-
}
|
|
221930
|
-
},
|
|
221931
|
-
"doc.contentControls.selectByTitle": {
|
|
221932
|
-
"operationId": "doc.contentControls.selectByTitle",
|
|
221933
|
-
"sdkSurface": "document",
|
|
221934
|
-
"command": "content-controls select-by-title",
|
|
221935
|
-
"commandTokens": [
|
|
221936
|
-
"content-controls",
|
|
221937
|
-
"select-by-title"
|
|
221938
|
-
],
|
|
221939
|
-
"category": "core",
|
|
221940
|
-
"description": "Select content controls matching a specific title (alias) value.",
|
|
221941
|
-
"requiresDocumentContext": true,
|
|
221942
|
-
"docRequirement": "optional",
|
|
221943
|
-
"responseEnvelopeKey": "result",
|
|
221944
|
-
"params": [
|
|
221945
|
-
{
|
|
221946
|
-
"name": "doc",
|
|
221947
|
-
"kind": "doc",
|
|
221948
|
-
"type": "string",
|
|
221949
|
-
"description": "Document path. Optional when a session is already open."
|
|
221950
|
-
},
|
|
221951
|
-
{
|
|
221952
|
-
"name": "sessionId",
|
|
221953
|
-
"kind": "flag",
|
|
221954
|
-
"type": "string",
|
|
221955
|
-
"flag": "session",
|
|
221956
|
-
"description": "Session ID for multi-session workflows. Optional when only one session is open."
|
|
221957
|
-
},
|
|
221958
|
-
{
|
|
221959
|
-
"name": "title",
|
|
221960
|
-
"kind": "flag",
|
|
221961
|
-
"type": "string",
|
|
221962
|
-
"required": true
|
|
221963
|
-
},
|
|
221964
|
-
{
|
|
221965
|
-
"name": "offset",
|
|
221966
|
-
"kind": "flag",
|
|
221967
|
-
"type": "number"
|
|
221968
|
-
},
|
|
221969
|
-
{
|
|
221970
|
-
"name": "limit",
|
|
221971
|
-
"kind": "flag",
|
|
221972
|
-
"type": "number"
|
|
221973
|
-
}
|
|
221974
|
-
],
|
|
221975
|
-
"constraints": null,
|
|
221976
|
-
"mutates": false,
|
|
221977
|
-
"idempotency": "idempotent",
|
|
221978
|
-
"supportsTrackedMode": false,
|
|
221979
|
-
"supportsDryRun": false,
|
|
221980
|
-
"inputSchema": {
|
|
221981
|
-
"type": "object",
|
|
221982
|
-
"properties": {
|
|
221983
|
-
"title": {
|
|
221984
|
-
"type": "string"
|
|
221985
|
-
},
|
|
221986
|
-
"offset": {
|
|
221987
|
-
"type": "integer"
|
|
221988
|
-
},
|
|
221989
|
-
"limit": {
|
|
221990
|
-
"type": "integer"
|
|
221991
|
-
}
|
|
221992
|
-
},
|
|
221993
|
-
"additionalProperties": false,
|
|
221994
|
-
"required": [
|
|
221995
|
-
"title"
|
|
221996
|
-
]
|
|
221997
|
-
},
|
|
221998
|
-
"outputSchema": {
|
|
221999
|
-
"type": "object",
|
|
222000
|
-
"properties": {
|
|
222001
|
-
"items": {
|
|
222002
|
-
"type": "array",
|
|
222003
|
-
"items": {
|
|
222004
|
-
"type": "object",
|
|
222005
|
-
"properties": {
|
|
222006
|
-
"nodeType": {
|
|
222007
|
-
"const": "sdt"
|
|
222008
|
-
},
|
|
222009
|
-
"kind": {
|
|
222010
|
-
"enum": [
|
|
222011
|
-
"block",
|
|
222012
|
-
"inline"
|
|
222013
|
-
]
|
|
222014
|
-
},
|
|
222015
|
-
"id": {
|
|
222016
|
-
"type": "string"
|
|
222017
222035
|
},
|
|
222018
|
-
"
|
|
222019
|
-
"type": "
|
|
222020
|
-
}
|
|
222021
|
-
|
|
222022
|
-
|
|
222023
|
-
|
|
222024
|
-
"
|
|
222025
|
-
|
|
222026
|
-
|
|
222027
|
-
"
|
|
222028
|
-
|
|
222029
|
-
|
|
222030
|
-
|
|
222031
|
-
|
|
222032
|
-
|
|
222033
|
-
|
|
222034
|
-
|
|
222035
|
-
|
|
222036
|
-
|
|
222037
|
-
|
|
222038
|
-
|
|
222039
|
-
|
|
222040
|
-
|
|
222041
|
-
|
|
222042
|
-
|
|
222043
|
-
|
|
222044
|
-
|
|
222045
|
-
|
|
222046
|
-
|
|
222047
|
-
|
|
222048
|
-
|
|
222049
|
-
|
|
222050
|
-
|
|
222051
|
-
|
|
222052
|
-
|
|
222053
|
-
|
|
222054
|
-
|
|
222055
|
-
|
|
222056
|
-
|
|
222057
|
-
|
|
222058
|
-
|
|
222059
|
-
|
|
222060
|
-
|
|
222061
|
-
|
|
222062
|
-
|
|
222063
|
-
|
|
222064
|
-
|
|
222065
|
-
|
|
222066
|
-
|
|
222067
|
-
|
|
222068
|
-
|
|
222069
|
-
|
|
222070
|
-
|
|
222071
|
-
|
|
222072
|
-
|
|
222073
|
-
|
|
222074
|
-
|
|
222075
|
-
|
|
222076
|
-
|
|
222077
|
-
|
|
222078
|
-
|
|
222079
|
-
|
|
222080
|
-
|
|
222081
|
-
|
|
222082
|
-
|
|
222083
|
-
|
|
222036
|
+
"isEmpty": {
|
|
222037
|
+
"type": "boolean"
|
|
222038
|
+
}
|
|
222039
|
+
},
|
|
222040
|
+
"additionalProperties": false,
|
|
222041
|
+
"required": [
|
|
222042
|
+
"nodeType",
|
|
222043
|
+
"kind",
|
|
222044
|
+
"id",
|
|
222045
|
+
"controlType",
|
|
222046
|
+
"lockMode",
|
|
222047
|
+
"properties",
|
|
222048
|
+
"target"
|
|
222049
|
+
]
|
|
222050
|
+
}
|
|
222051
|
+
},
|
|
222052
|
+
"total": {
|
|
222053
|
+
"type": "integer"
|
|
222054
|
+
}
|
|
222055
|
+
},
|
|
222056
|
+
"additionalProperties": false,
|
|
222057
|
+
"required": [
|
|
222058
|
+
"items",
|
|
222059
|
+
"total"
|
|
222060
|
+
]
|
|
222061
|
+
}
|
|
222062
|
+
},
|
|
222063
|
+
"doc.contentControls.selectByTitle": {
|
|
222064
|
+
"operationId": "doc.contentControls.selectByTitle",
|
|
222065
|
+
"sdkSurface": "document",
|
|
222066
|
+
"command": "content-controls select-by-title",
|
|
222067
|
+
"commandTokens": [
|
|
222068
|
+
"content-controls",
|
|
222069
|
+
"select-by-title"
|
|
222070
|
+
],
|
|
222071
|
+
"category": "core",
|
|
222072
|
+
"description": "Select content controls matching a specific title (alias) value.",
|
|
222073
|
+
"requiresDocumentContext": true,
|
|
222074
|
+
"docRequirement": "optional",
|
|
222075
|
+
"responseEnvelopeKey": "result",
|
|
222076
|
+
"params": [
|
|
222077
|
+
{
|
|
222078
|
+
"name": "doc",
|
|
222079
|
+
"kind": "doc",
|
|
222080
|
+
"type": "string",
|
|
222081
|
+
"description": "Document path. Optional when a session is already open."
|
|
222082
|
+
},
|
|
222083
|
+
{
|
|
222084
|
+
"name": "sessionId",
|
|
222085
|
+
"kind": "flag",
|
|
222086
|
+
"type": "string",
|
|
222087
|
+
"flag": "session",
|
|
222088
|
+
"description": "Session ID for multi-session workflows. Optional when only one session is open."
|
|
222089
|
+
},
|
|
222090
|
+
{
|
|
222091
|
+
"name": "title",
|
|
222092
|
+
"kind": "flag",
|
|
222093
|
+
"type": "string",
|
|
222094
|
+
"required": true
|
|
222095
|
+
},
|
|
222096
|
+
{
|
|
222097
|
+
"name": "offset",
|
|
222098
|
+
"kind": "flag",
|
|
222099
|
+
"type": "number"
|
|
222100
|
+
},
|
|
222101
|
+
{
|
|
222102
|
+
"name": "limit",
|
|
222103
|
+
"kind": "flag",
|
|
222104
|
+
"type": "number"
|
|
222105
|
+
}
|
|
222106
|
+
],
|
|
222107
|
+
"constraints": null,
|
|
222108
|
+
"mutates": false,
|
|
222109
|
+
"idempotency": "idempotent",
|
|
222110
|
+
"supportsTrackedMode": false,
|
|
222111
|
+
"supportsDryRun": false,
|
|
222112
|
+
"inputSchema": {
|
|
222113
|
+
"type": "object",
|
|
222114
|
+
"properties": {
|
|
222115
|
+
"title": {
|
|
222116
|
+
"type": "string"
|
|
222117
|
+
},
|
|
222118
|
+
"offset": {
|
|
222119
|
+
"type": "integer"
|
|
222120
|
+
},
|
|
222121
|
+
"limit": {
|
|
222122
|
+
"type": "integer"
|
|
222123
|
+
}
|
|
222124
|
+
},
|
|
222125
|
+
"additionalProperties": false,
|
|
222126
|
+
"required": [
|
|
222127
|
+
"title"
|
|
222128
|
+
]
|
|
222129
|
+
},
|
|
222130
|
+
"outputSchema": {
|
|
222131
|
+
"type": "object",
|
|
222132
|
+
"properties": {
|
|
222133
|
+
"items": {
|
|
222134
|
+
"type": "array",
|
|
222135
|
+
"items": {
|
|
222136
|
+
"type": "object",
|
|
222137
|
+
"properties": {
|
|
222138
|
+
"nodeType": {
|
|
222139
|
+
"const": "sdt"
|
|
222140
|
+
},
|
|
222141
|
+
"kind": {
|
|
222142
|
+
"enum": [
|
|
222143
|
+
"block",
|
|
222144
|
+
"inline"
|
|
222145
|
+
]
|
|
222146
|
+
},
|
|
222147
|
+
"id": {
|
|
222148
|
+
"type": "string"
|
|
222149
|
+
},
|
|
222150
|
+
"controlType": {
|
|
222151
|
+
"type": "string"
|
|
222152
|
+
},
|
|
222153
|
+
"lockMode": {
|
|
222154
|
+
"type": "string"
|
|
222155
|
+
},
|
|
222156
|
+
"properties": {
|
|
222157
|
+
"type": "object"
|
|
222158
|
+
},
|
|
222159
|
+
"binding": {
|
|
222160
|
+
"type": "object",
|
|
222161
|
+
"properties": {
|
|
222162
|
+
"storeItemId": {
|
|
222163
|
+
"type": "string"
|
|
222164
|
+
},
|
|
222165
|
+
"xpath": {
|
|
222166
|
+
"type": "string"
|
|
222167
|
+
},
|
|
222168
|
+
"prefixMappings": {
|
|
222169
|
+
"type": "string"
|
|
222170
|
+
}
|
|
222171
|
+
},
|
|
222172
|
+
"additionalProperties": false,
|
|
222173
|
+
"required": [
|
|
222174
|
+
"storeItemId",
|
|
222175
|
+
"xpath"
|
|
222176
|
+
]
|
|
222177
|
+
},
|
|
222178
|
+
"raw": {
|
|
222179
|
+
"type": "object"
|
|
222180
|
+
},
|
|
222181
|
+
"target": {
|
|
222182
|
+
"type": "object",
|
|
222183
|
+
"properties": {
|
|
222184
|
+
"kind": {
|
|
222185
|
+
"enum": [
|
|
222186
|
+
"block",
|
|
222187
|
+
"inline"
|
|
222188
|
+
]
|
|
222189
|
+
},
|
|
222190
|
+
"nodeType": {
|
|
222191
|
+
"const": "sdt"
|
|
222192
|
+
},
|
|
222193
|
+
"nodeId": {
|
|
222194
|
+
"type": "string"
|
|
222195
|
+
}
|
|
222196
|
+
},
|
|
222197
|
+
"additionalProperties": false,
|
|
222198
|
+
"required": [
|
|
222199
|
+
"kind",
|
|
222200
|
+
"nodeType",
|
|
222201
|
+
"nodeId"
|
|
222202
|
+
]
|
|
222203
|
+
},
|
|
222204
|
+
"selectionTarget": {
|
|
222205
|
+
"oneOf": [
|
|
222206
|
+
{
|
|
222207
|
+
"$ref": "#/$defs/SelectionTarget"
|
|
222208
|
+
},
|
|
222209
|
+
{
|
|
222210
|
+
"type": "null"
|
|
222211
|
+
}
|
|
222212
|
+
]
|
|
222213
|
+
},
|
|
222214
|
+
"text": {
|
|
222215
|
+
"type": "string"
|
|
222216
|
+
},
|
|
222217
|
+
"isEmpty": {
|
|
222218
|
+
"type": "boolean"
|
|
222084
222219
|
}
|
|
222085
222220
|
},
|
|
222086
222221
|
"additionalProperties": false,
|
|
@@ -222306,6 +222441,9 @@ const CONTRACT = {
|
|
|
222306
222441
|
},
|
|
222307
222442
|
"text": {
|
|
222308
222443
|
"type": "string"
|
|
222444
|
+
},
|
|
222445
|
+
"isEmpty": {
|
|
222446
|
+
"type": "boolean"
|
|
222309
222447
|
}
|
|
222310
222448
|
},
|
|
222311
222449
|
"additionalProperties": false,
|
|
@@ -222512,6 +222650,9 @@ const CONTRACT = {
|
|
|
222512
222650
|
},
|
|
222513
222651
|
"text": {
|
|
222514
222652
|
"type": "string"
|
|
222653
|
+
},
|
|
222654
|
+
"isEmpty": {
|
|
222655
|
+
"type": "boolean"
|
|
222515
222656
|
}
|
|
222516
222657
|
},
|
|
222517
222658
|
"additionalProperties": false,
|
|
@@ -234088,6 +234229,9 @@ const CONTRACT = {
|
|
|
234088
234229
|
},
|
|
234089
234230
|
"text": {
|
|
234090
234231
|
"type": "string"
|
|
234232
|
+
},
|
|
234233
|
+
"isEmpty": {
|
|
234234
|
+
"type": "boolean"
|
|
234091
234235
|
}
|
|
234092
234236
|
},
|
|
234093
234237
|
"additionalProperties": false,
|
|
@@ -247763,159 +247907,355 @@ const CONTRACT = {
|
|
|
247763
247907
|
"start",
|
|
247764
247908
|
"end"
|
|
247765
247909
|
]
|
|
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
|
-
|
|
247910
|
+
},
|
|
247911
|
+
"story": {
|
|
247912
|
+
"oneOf": [
|
|
247913
|
+
{
|
|
247914
|
+
"type": "object",
|
|
247915
|
+
"properties": {
|
|
247916
|
+
"kind": {
|
|
247917
|
+
"const": "story"
|
|
247918
|
+
},
|
|
247919
|
+
"storyType": {
|
|
247920
|
+
"const": "body"
|
|
247921
|
+
}
|
|
247922
|
+
},
|
|
247923
|
+
"required": [
|
|
247924
|
+
"kind",
|
|
247925
|
+
"storyType"
|
|
247926
|
+
]
|
|
247927
|
+
},
|
|
247928
|
+
{
|
|
247929
|
+
"type": "object",
|
|
247930
|
+
"properties": {
|
|
247931
|
+
"kind": {
|
|
247932
|
+
"const": "story"
|
|
247933
|
+
},
|
|
247934
|
+
"storyType": {
|
|
247935
|
+
"const": "headerFooterSlot"
|
|
247936
|
+
},
|
|
247937
|
+
"section": {
|
|
247938
|
+
"type": "object",
|
|
247939
|
+
"properties": {
|
|
247940
|
+
"kind": {
|
|
247941
|
+
"const": "section"
|
|
247942
|
+
},
|
|
247943
|
+
"sectionId": {
|
|
247944
|
+
"type": "string"
|
|
247945
|
+
}
|
|
247946
|
+
},
|
|
247947
|
+
"required": [
|
|
247948
|
+
"kind",
|
|
247949
|
+
"sectionId"
|
|
247950
|
+
]
|
|
247951
|
+
},
|
|
247952
|
+
"headerFooterKind": {
|
|
247953
|
+
"oneOf": [
|
|
247954
|
+
{
|
|
247955
|
+
"const": "header"
|
|
247956
|
+
},
|
|
247957
|
+
{
|
|
247958
|
+
"const": "footer"
|
|
247959
|
+
}
|
|
247960
|
+
]
|
|
247961
|
+
},
|
|
247962
|
+
"variant": {
|
|
247963
|
+
"oneOf": [
|
|
247964
|
+
{
|
|
247965
|
+
"const": "default"
|
|
247966
|
+
},
|
|
247967
|
+
{
|
|
247968
|
+
"const": "first"
|
|
247969
|
+
},
|
|
247970
|
+
{
|
|
247971
|
+
"const": "even"
|
|
247972
|
+
}
|
|
247973
|
+
]
|
|
247974
|
+
},
|
|
247975
|
+
"resolution": {
|
|
247976
|
+
"oneOf": [
|
|
247977
|
+
{
|
|
247978
|
+
"const": "effective"
|
|
247979
|
+
},
|
|
247980
|
+
{
|
|
247981
|
+
"const": "explicit"
|
|
247982
|
+
}
|
|
247983
|
+
]
|
|
247984
|
+
},
|
|
247985
|
+
"onWrite": {
|
|
247986
|
+
"oneOf": [
|
|
247987
|
+
{
|
|
247988
|
+
"const": "materializeIfInherited"
|
|
247989
|
+
},
|
|
247990
|
+
{
|
|
247991
|
+
"const": "editResolvedPart"
|
|
247992
|
+
},
|
|
247993
|
+
{
|
|
247994
|
+
"const": "error"
|
|
247995
|
+
}
|
|
247996
|
+
]
|
|
247997
|
+
}
|
|
247998
|
+
},
|
|
247999
|
+
"required": [
|
|
248000
|
+
"kind",
|
|
248001
|
+
"storyType",
|
|
248002
|
+
"section",
|
|
248003
|
+
"headerFooterKind",
|
|
248004
|
+
"variant"
|
|
248005
|
+
]
|
|
248006
|
+
},
|
|
248007
|
+
{
|
|
248008
|
+
"type": "object",
|
|
248009
|
+
"properties": {
|
|
248010
|
+
"kind": {
|
|
248011
|
+
"const": "story"
|
|
248012
|
+
},
|
|
248013
|
+
"storyType": {
|
|
248014
|
+
"const": "headerFooterPart"
|
|
248015
|
+
},
|
|
248016
|
+
"refId": {
|
|
248017
|
+
"type": "string"
|
|
248018
|
+
}
|
|
248019
|
+
},
|
|
248020
|
+
"required": [
|
|
248021
|
+
"kind",
|
|
248022
|
+
"storyType",
|
|
248023
|
+
"refId"
|
|
248024
|
+
]
|
|
248025
|
+
},
|
|
248026
|
+
{
|
|
248027
|
+
"type": "object",
|
|
248028
|
+
"properties": {
|
|
248029
|
+
"kind": {
|
|
248030
|
+
"const": "story"
|
|
248031
|
+
},
|
|
248032
|
+
"storyType": {
|
|
248033
|
+
"const": "footnote"
|
|
248034
|
+
},
|
|
248035
|
+
"noteId": {
|
|
248036
|
+
"type": "string"
|
|
248037
|
+
}
|
|
248038
|
+
},
|
|
248039
|
+
"required": [
|
|
248040
|
+
"kind",
|
|
248041
|
+
"storyType",
|
|
248042
|
+
"noteId"
|
|
248043
|
+
]
|
|
248044
|
+
},
|
|
248045
|
+
{
|
|
248046
|
+
"type": "object",
|
|
248047
|
+
"properties": {
|
|
248048
|
+
"kind": {
|
|
248049
|
+
"const": "story"
|
|
248050
|
+
},
|
|
248051
|
+
"storyType": {
|
|
248052
|
+
"const": "endnote"
|
|
248053
|
+
},
|
|
248054
|
+
"noteId": {
|
|
248055
|
+
"type": "string"
|
|
248056
|
+
}
|
|
248057
|
+
},
|
|
248058
|
+
"required": [
|
|
248059
|
+
"kind",
|
|
248060
|
+
"storyType",
|
|
248061
|
+
"noteId"
|
|
248062
|
+
]
|
|
248063
|
+
},
|
|
248064
|
+
{
|
|
248065
|
+
"type": "object",
|
|
248066
|
+
"properties": {
|
|
248067
|
+
"kind": {
|
|
248068
|
+
"const": "story"
|
|
248069
|
+
},
|
|
248070
|
+
"storyType": {
|
|
248071
|
+
"const": "textbox"
|
|
248072
|
+
},
|
|
248073
|
+
"textboxId": {
|
|
248074
|
+
"type": "string"
|
|
248075
|
+
}
|
|
248076
|
+
},
|
|
248077
|
+
"required": [
|
|
248078
|
+
"kind",
|
|
248079
|
+
"storyType",
|
|
248080
|
+
"textboxId"
|
|
248081
|
+
]
|
|
248082
|
+
}
|
|
248083
|
+
],
|
|
248084
|
+
"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."
|
|
248085
|
+
},
|
|
248086
|
+
"storyId": {
|
|
248087
|
+
"type": "string"
|
|
248088
|
+
},
|
|
248089
|
+
"fieldId": {
|
|
248090
|
+
"type": "string"
|
|
248091
|
+
},
|
|
248092
|
+
"occurrenceIndex": {
|
|
248093
|
+
"type": "number"
|
|
248094
|
+
}
|
|
248095
|
+
},
|
|
248096
|
+
"required": [
|
|
248097
|
+
"kind",
|
|
248098
|
+
"nodeType",
|
|
248099
|
+
"anchor"
|
|
248100
|
+
]
|
|
248101
|
+
}
|
|
248102
|
+
}
|
|
248103
|
+
],
|
|
248104
|
+
"constraints": null,
|
|
248105
|
+
"mutates": false,
|
|
248106
|
+
"idempotency": "idempotent",
|
|
248107
|
+
"supportsTrackedMode": false,
|
|
248108
|
+
"supportsDryRun": false,
|
|
248109
|
+
"inputSchema": {
|
|
248110
|
+
"type": "object",
|
|
248111
|
+
"properties": {
|
|
248112
|
+
"target": {
|
|
248113
|
+
"type": "object",
|
|
248114
|
+
"properties": {
|
|
248115
|
+
"kind": {
|
|
248116
|
+
"const": "inline"
|
|
248117
|
+
},
|
|
248118
|
+
"nodeType": {
|
|
248119
|
+
"const": "citation"
|
|
248120
|
+
},
|
|
248121
|
+
"anchor": {
|
|
248122
|
+
"$ref": "#/$defs/InlineAnchor"
|
|
248123
|
+
},
|
|
248124
|
+
"story": {
|
|
248125
|
+
"$ref": "#/$defs/StoryLocator"
|
|
248126
|
+
},
|
|
248127
|
+
"storyId": {
|
|
248128
|
+
"type": "string"
|
|
248129
|
+
},
|
|
248130
|
+
"fieldId": {
|
|
248131
|
+
"type": "string"
|
|
248132
|
+
},
|
|
248133
|
+
"occurrenceIndex": {
|
|
248134
|
+
"type": "integer"
|
|
248135
|
+
}
|
|
248136
|
+
},
|
|
248137
|
+
"additionalProperties": false,
|
|
248138
|
+
"required": [
|
|
248139
|
+
"kind",
|
|
248140
|
+
"nodeType",
|
|
248141
|
+
"anchor"
|
|
248142
|
+
]
|
|
248143
|
+
}
|
|
248144
|
+
},
|
|
248145
|
+
"additionalProperties": false,
|
|
248146
|
+
"required": [
|
|
248147
|
+
"target"
|
|
248148
|
+
]
|
|
248149
|
+
},
|
|
248150
|
+
"outputSchema": {
|
|
248151
|
+
"type": "object"
|
|
248152
|
+
}
|
|
248153
|
+
},
|
|
248154
|
+
"doc.citations.insert": {
|
|
248155
|
+
"operationId": "doc.citations.insert",
|
|
248156
|
+
"sdkSurface": "document",
|
|
248157
|
+
"command": "citations insert",
|
|
248158
|
+
"commandTokens": [
|
|
248159
|
+
"citations",
|
|
248160
|
+
"insert"
|
|
248161
|
+
],
|
|
248162
|
+
"category": "core",
|
|
248163
|
+
"description": "Insert a new citation mark at a target location.",
|
|
248164
|
+
"requiresDocumentContext": true,
|
|
248165
|
+
"docRequirement": "optional",
|
|
248166
|
+
"responseEnvelopeKey": "result",
|
|
248167
|
+
"params": [
|
|
248168
|
+
{
|
|
248169
|
+
"name": "doc",
|
|
248170
|
+
"kind": "doc",
|
|
248171
|
+
"type": "string",
|
|
248172
|
+
"description": "Document path. Optional when a session is already open."
|
|
248173
|
+
},
|
|
248174
|
+
{
|
|
248175
|
+
"name": "sessionId",
|
|
248176
|
+
"kind": "flag",
|
|
248177
|
+
"type": "string",
|
|
248178
|
+
"flag": "session",
|
|
248179
|
+
"description": "Session ID for multi-session workflows. Optional when only one session is open."
|
|
248180
|
+
},
|
|
248181
|
+
{
|
|
248182
|
+
"name": "out",
|
|
248183
|
+
"kind": "flag",
|
|
248184
|
+
"type": "string",
|
|
248185
|
+
"agentVisible": false
|
|
248186
|
+
},
|
|
248187
|
+
{
|
|
248188
|
+
"name": "force",
|
|
248189
|
+
"kind": "flag",
|
|
248190
|
+
"type": "boolean",
|
|
248191
|
+
"description": "Bypass confirmation checks."
|
|
248192
|
+
},
|
|
248193
|
+
{
|
|
248194
|
+
"name": "expectedRevision",
|
|
248195
|
+
"kind": "flag",
|
|
248196
|
+
"type": "number",
|
|
248197
|
+
"flag": "expected-revision",
|
|
248198
|
+
"agentVisible": false
|
|
248199
|
+
},
|
|
248200
|
+
{
|
|
248201
|
+
"name": "changeMode",
|
|
248202
|
+
"kind": "flag",
|
|
248203
|
+
"type": "string",
|
|
248204
|
+
"flag": "change-mode",
|
|
248205
|
+
"schema": {
|
|
248206
|
+
"type": "string"
|
|
248207
|
+
},
|
|
248208
|
+
"description": "Edit mode: \"direct\" applies changes immediately, \"tracked\" records as suggestions."
|
|
248209
|
+
},
|
|
248210
|
+
{
|
|
248211
|
+
"name": "dryRun",
|
|
248212
|
+
"kind": "flag",
|
|
248213
|
+
"type": "boolean",
|
|
248214
|
+
"flag": "dry-run",
|
|
248215
|
+
"description": "Preview the result without applying changes."
|
|
248216
|
+
},
|
|
248217
|
+
{
|
|
248218
|
+
"name": "at",
|
|
248219
|
+
"kind": "jsonFlag",
|
|
248220
|
+
"type": "json",
|
|
248221
|
+
"flag": "at-json",
|
|
248222
|
+
"required": true,
|
|
248223
|
+
"schema": {
|
|
248224
|
+
"type": "object",
|
|
248225
|
+
"properties": {
|
|
248226
|
+
"kind": {
|
|
248227
|
+
"const": "text"
|
|
248228
|
+
},
|
|
248229
|
+
"segments": {
|
|
248230
|
+
"type": "array",
|
|
248231
|
+
"items": {
|
|
248232
|
+
"type": "object",
|
|
248233
|
+
"properties": {
|
|
248234
|
+
"blockId": {
|
|
248235
|
+
"type": "string"
|
|
248236
|
+
},
|
|
248237
|
+
"range": {
|
|
248238
|
+
"type": "object",
|
|
248239
|
+
"properties": {
|
|
248240
|
+
"start": {
|
|
248241
|
+
"type": "number"
|
|
248242
|
+
},
|
|
248243
|
+
"end": {
|
|
248244
|
+
"type": "number"
|
|
248245
|
+
}
|
|
248246
|
+
},
|
|
248247
|
+
"required": [
|
|
248248
|
+
"start",
|
|
248249
|
+
"end"
|
|
248250
|
+
]
|
|
248251
|
+
}
|
|
248252
|
+
},
|
|
248253
|
+
"required": [
|
|
248254
|
+
"blockId",
|
|
248255
|
+
"range"
|
|
248256
|
+
]
|
|
248257
|
+
},
|
|
248258
|
+
"minItems": 1
|
|
247919
248259
|
},
|
|
247920
248260
|
"story": {
|
|
247921
248261
|
"oneOf": [
|
|
@@ -248156,6 +248496,18 @@ const CONTRACT = {
|
|
|
248156
248496
|
},
|
|
248157
248497
|
"anchor": {
|
|
248158
248498
|
"$ref": "#/$defs/InlineAnchor"
|
|
248499
|
+
},
|
|
248500
|
+
"story": {
|
|
248501
|
+
"$ref": "#/$defs/StoryLocator"
|
|
248502
|
+
},
|
|
248503
|
+
"storyId": {
|
|
248504
|
+
"type": "string"
|
|
248505
|
+
},
|
|
248506
|
+
"fieldId": {
|
|
248507
|
+
"type": "string"
|
|
248508
|
+
},
|
|
248509
|
+
"occurrenceIndex": {
|
|
248510
|
+
"type": "integer"
|
|
248159
248511
|
}
|
|
248160
248512
|
},
|
|
248161
248513
|
"additionalProperties": false,
|
|
@@ -248221,6 +248573,18 @@ const CONTRACT = {
|
|
|
248221
248573
|
},
|
|
248222
248574
|
"anchor": {
|
|
248223
248575
|
"$ref": "#/$defs/InlineAnchor"
|
|
248576
|
+
},
|
|
248577
|
+
"story": {
|
|
248578
|
+
"$ref": "#/$defs/StoryLocator"
|
|
248579
|
+
},
|
|
248580
|
+
"storyId": {
|
|
248581
|
+
"type": "string"
|
|
248582
|
+
},
|
|
248583
|
+
"fieldId": {
|
|
248584
|
+
"type": "string"
|
|
248585
|
+
},
|
|
248586
|
+
"occurrenceIndex": {
|
|
248587
|
+
"type": "integer"
|
|
248224
248588
|
}
|
|
248225
248589
|
},
|
|
248226
248590
|
"additionalProperties": false,
|
|
@@ -248384,6 +248748,190 @@ const CONTRACT = {
|
|
|
248384
248748
|
"start",
|
|
248385
248749
|
"end"
|
|
248386
248750
|
]
|
|
248751
|
+
},
|
|
248752
|
+
"story": {
|
|
248753
|
+
"oneOf": [
|
|
248754
|
+
{
|
|
248755
|
+
"type": "object",
|
|
248756
|
+
"properties": {
|
|
248757
|
+
"kind": {
|
|
248758
|
+
"const": "story"
|
|
248759
|
+
},
|
|
248760
|
+
"storyType": {
|
|
248761
|
+
"const": "body"
|
|
248762
|
+
}
|
|
248763
|
+
},
|
|
248764
|
+
"required": [
|
|
248765
|
+
"kind",
|
|
248766
|
+
"storyType"
|
|
248767
|
+
]
|
|
248768
|
+
},
|
|
248769
|
+
{
|
|
248770
|
+
"type": "object",
|
|
248771
|
+
"properties": {
|
|
248772
|
+
"kind": {
|
|
248773
|
+
"const": "story"
|
|
248774
|
+
},
|
|
248775
|
+
"storyType": {
|
|
248776
|
+
"const": "headerFooterSlot"
|
|
248777
|
+
},
|
|
248778
|
+
"section": {
|
|
248779
|
+
"type": "object",
|
|
248780
|
+
"properties": {
|
|
248781
|
+
"kind": {
|
|
248782
|
+
"const": "section"
|
|
248783
|
+
},
|
|
248784
|
+
"sectionId": {
|
|
248785
|
+
"type": "string"
|
|
248786
|
+
}
|
|
248787
|
+
},
|
|
248788
|
+
"required": [
|
|
248789
|
+
"kind",
|
|
248790
|
+
"sectionId"
|
|
248791
|
+
]
|
|
248792
|
+
},
|
|
248793
|
+
"headerFooterKind": {
|
|
248794
|
+
"oneOf": [
|
|
248795
|
+
{
|
|
248796
|
+
"const": "header"
|
|
248797
|
+
},
|
|
248798
|
+
{
|
|
248799
|
+
"const": "footer"
|
|
248800
|
+
}
|
|
248801
|
+
]
|
|
248802
|
+
},
|
|
248803
|
+
"variant": {
|
|
248804
|
+
"oneOf": [
|
|
248805
|
+
{
|
|
248806
|
+
"const": "default"
|
|
248807
|
+
},
|
|
248808
|
+
{
|
|
248809
|
+
"const": "first"
|
|
248810
|
+
},
|
|
248811
|
+
{
|
|
248812
|
+
"const": "even"
|
|
248813
|
+
}
|
|
248814
|
+
]
|
|
248815
|
+
},
|
|
248816
|
+
"resolution": {
|
|
248817
|
+
"oneOf": [
|
|
248818
|
+
{
|
|
248819
|
+
"const": "effective"
|
|
248820
|
+
},
|
|
248821
|
+
{
|
|
248822
|
+
"const": "explicit"
|
|
248823
|
+
}
|
|
248824
|
+
]
|
|
248825
|
+
},
|
|
248826
|
+
"onWrite": {
|
|
248827
|
+
"oneOf": [
|
|
248828
|
+
{
|
|
248829
|
+
"const": "materializeIfInherited"
|
|
248830
|
+
},
|
|
248831
|
+
{
|
|
248832
|
+
"const": "editResolvedPart"
|
|
248833
|
+
},
|
|
248834
|
+
{
|
|
248835
|
+
"const": "error"
|
|
248836
|
+
}
|
|
248837
|
+
]
|
|
248838
|
+
}
|
|
248839
|
+
},
|
|
248840
|
+
"required": [
|
|
248841
|
+
"kind",
|
|
248842
|
+
"storyType",
|
|
248843
|
+
"section",
|
|
248844
|
+
"headerFooterKind",
|
|
248845
|
+
"variant"
|
|
248846
|
+
]
|
|
248847
|
+
},
|
|
248848
|
+
{
|
|
248849
|
+
"type": "object",
|
|
248850
|
+
"properties": {
|
|
248851
|
+
"kind": {
|
|
248852
|
+
"const": "story"
|
|
248853
|
+
},
|
|
248854
|
+
"storyType": {
|
|
248855
|
+
"const": "headerFooterPart"
|
|
248856
|
+
},
|
|
248857
|
+
"refId": {
|
|
248858
|
+
"type": "string"
|
|
248859
|
+
}
|
|
248860
|
+
},
|
|
248861
|
+
"required": [
|
|
248862
|
+
"kind",
|
|
248863
|
+
"storyType",
|
|
248864
|
+
"refId"
|
|
248865
|
+
]
|
|
248866
|
+
},
|
|
248867
|
+
{
|
|
248868
|
+
"type": "object",
|
|
248869
|
+
"properties": {
|
|
248870
|
+
"kind": {
|
|
248871
|
+
"const": "story"
|
|
248872
|
+
},
|
|
248873
|
+
"storyType": {
|
|
248874
|
+
"const": "footnote"
|
|
248875
|
+
},
|
|
248876
|
+
"noteId": {
|
|
248877
|
+
"type": "string"
|
|
248878
|
+
}
|
|
248879
|
+
},
|
|
248880
|
+
"required": [
|
|
248881
|
+
"kind",
|
|
248882
|
+
"storyType",
|
|
248883
|
+
"noteId"
|
|
248884
|
+
]
|
|
248885
|
+
},
|
|
248886
|
+
{
|
|
248887
|
+
"type": "object",
|
|
248888
|
+
"properties": {
|
|
248889
|
+
"kind": {
|
|
248890
|
+
"const": "story"
|
|
248891
|
+
},
|
|
248892
|
+
"storyType": {
|
|
248893
|
+
"const": "endnote"
|
|
248894
|
+
},
|
|
248895
|
+
"noteId": {
|
|
248896
|
+
"type": "string"
|
|
248897
|
+
}
|
|
248898
|
+
},
|
|
248899
|
+
"required": [
|
|
248900
|
+
"kind",
|
|
248901
|
+
"storyType",
|
|
248902
|
+
"noteId"
|
|
248903
|
+
]
|
|
248904
|
+
},
|
|
248905
|
+
{
|
|
248906
|
+
"type": "object",
|
|
248907
|
+
"properties": {
|
|
248908
|
+
"kind": {
|
|
248909
|
+
"const": "story"
|
|
248910
|
+
},
|
|
248911
|
+
"storyType": {
|
|
248912
|
+
"const": "textbox"
|
|
248913
|
+
},
|
|
248914
|
+
"textboxId": {
|
|
248915
|
+
"type": "string"
|
|
248916
|
+
}
|
|
248917
|
+
},
|
|
248918
|
+
"required": [
|
|
248919
|
+
"kind",
|
|
248920
|
+
"storyType",
|
|
248921
|
+
"textboxId"
|
|
248922
|
+
]
|
|
248923
|
+
}
|
|
248924
|
+
],
|
|
248925
|
+
"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."
|
|
248926
|
+
},
|
|
248927
|
+
"storyId": {
|
|
248928
|
+
"type": "string"
|
|
248929
|
+
},
|
|
248930
|
+
"fieldId": {
|
|
248931
|
+
"type": "string"
|
|
248932
|
+
},
|
|
248933
|
+
"occurrenceIndex": {
|
|
248934
|
+
"type": "number"
|
|
248387
248935
|
}
|
|
248388
248936
|
},
|
|
248389
248937
|
"required": [
|
|
@@ -248431,6 +248979,18 @@ const CONTRACT = {
|
|
|
248431
248979
|
},
|
|
248432
248980
|
"anchor": {
|
|
248433
248981
|
"$ref": "#/$defs/InlineAnchor"
|
|
248982
|
+
},
|
|
248983
|
+
"story": {
|
|
248984
|
+
"$ref": "#/$defs/StoryLocator"
|
|
248985
|
+
},
|
|
248986
|
+
"storyId": {
|
|
248987
|
+
"type": "string"
|
|
248988
|
+
},
|
|
248989
|
+
"fieldId": {
|
|
248990
|
+
"type": "string"
|
|
248991
|
+
},
|
|
248992
|
+
"occurrenceIndex": {
|
|
248993
|
+
"type": "integer"
|
|
248434
248994
|
}
|
|
248435
248995
|
},
|
|
248436
248996
|
"additionalProperties": false,
|
|
@@ -248478,6 +249038,18 @@ const CONTRACT = {
|
|
|
248478
249038
|
},
|
|
248479
249039
|
"anchor": {
|
|
248480
249040
|
"$ref": "#/$defs/InlineAnchor"
|
|
249041
|
+
},
|
|
249042
|
+
"story": {
|
|
249043
|
+
"$ref": "#/$defs/StoryLocator"
|
|
249044
|
+
},
|
|
249045
|
+
"storyId": {
|
|
249046
|
+
"type": "string"
|
|
249047
|
+
},
|
|
249048
|
+
"fieldId": {
|
|
249049
|
+
"type": "string"
|
|
249050
|
+
},
|
|
249051
|
+
"occurrenceIndex": {
|
|
249052
|
+
"type": "integer"
|
|
248481
249053
|
}
|
|
248482
249054
|
},
|
|
248483
249055
|
"additionalProperties": false,
|
|
@@ -248543,6 +249115,18 @@ const CONTRACT = {
|
|
|
248543
249115
|
},
|
|
248544
249116
|
"anchor": {
|
|
248545
249117
|
"$ref": "#/$defs/InlineAnchor"
|
|
249118
|
+
},
|
|
249119
|
+
"story": {
|
|
249120
|
+
"$ref": "#/$defs/StoryLocator"
|
|
249121
|
+
},
|
|
249122
|
+
"storyId": {
|
|
249123
|
+
"type": "string"
|
|
249124
|
+
},
|
|
249125
|
+
"fieldId": {
|
|
249126
|
+
"type": "string"
|
|
249127
|
+
},
|
|
249128
|
+
"occurrenceIndex": {
|
|
249129
|
+
"type": "integer"
|
|
248546
249130
|
}
|
|
248547
249131
|
},
|
|
248548
249132
|
"additionalProperties": false,
|
|
@@ -248706,6 +249290,190 @@ const CONTRACT = {
|
|
|
248706
249290
|
"start",
|
|
248707
249291
|
"end"
|
|
248708
249292
|
]
|
|
249293
|
+
},
|
|
249294
|
+
"story": {
|
|
249295
|
+
"oneOf": [
|
|
249296
|
+
{
|
|
249297
|
+
"type": "object",
|
|
249298
|
+
"properties": {
|
|
249299
|
+
"kind": {
|
|
249300
|
+
"const": "story"
|
|
249301
|
+
},
|
|
249302
|
+
"storyType": {
|
|
249303
|
+
"const": "body"
|
|
249304
|
+
}
|
|
249305
|
+
},
|
|
249306
|
+
"required": [
|
|
249307
|
+
"kind",
|
|
249308
|
+
"storyType"
|
|
249309
|
+
]
|
|
249310
|
+
},
|
|
249311
|
+
{
|
|
249312
|
+
"type": "object",
|
|
249313
|
+
"properties": {
|
|
249314
|
+
"kind": {
|
|
249315
|
+
"const": "story"
|
|
249316
|
+
},
|
|
249317
|
+
"storyType": {
|
|
249318
|
+
"const": "headerFooterSlot"
|
|
249319
|
+
},
|
|
249320
|
+
"section": {
|
|
249321
|
+
"type": "object",
|
|
249322
|
+
"properties": {
|
|
249323
|
+
"kind": {
|
|
249324
|
+
"const": "section"
|
|
249325
|
+
},
|
|
249326
|
+
"sectionId": {
|
|
249327
|
+
"type": "string"
|
|
249328
|
+
}
|
|
249329
|
+
},
|
|
249330
|
+
"required": [
|
|
249331
|
+
"kind",
|
|
249332
|
+
"sectionId"
|
|
249333
|
+
]
|
|
249334
|
+
},
|
|
249335
|
+
"headerFooterKind": {
|
|
249336
|
+
"oneOf": [
|
|
249337
|
+
{
|
|
249338
|
+
"const": "header"
|
|
249339
|
+
},
|
|
249340
|
+
{
|
|
249341
|
+
"const": "footer"
|
|
249342
|
+
}
|
|
249343
|
+
]
|
|
249344
|
+
},
|
|
249345
|
+
"variant": {
|
|
249346
|
+
"oneOf": [
|
|
249347
|
+
{
|
|
249348
|
+
"const": "default"
|
|
249349
|
+
},
|
|
249350
|
+
{
|
|
249351
|
+
"const": "first"
|
|
249352
|
+
},
|
|
249353
|
+
{
|
|
249354
|
+
"const": "even"
|
|
249355
|
+
}
|
|
249356
|
+
]
|
|
249357
|
+
},
|
|
249358
|
+
"resolution": {
|
|
249359
|
+
"oneOf": [
|
|
249360
|
+
{
|
|
249361
|
+
"const": "effective"
|
|
249362
|
+
},
|
|
249363
|
+
{
|
|
249364
|
+
"const": "explicit"
|
|
249365
|
+
}
|
|
249366
|
+
]
|
|
249367
|
+
},
|
|
249368
|
+
"onWrite": {
|
|
249369
|
+
"oneOf": [
|
|
249370
|
+
{
|
|
249371
|
+
"const": "materializeIfInherited"
|
|
249372
|
+
},
|
|
249373
|
+
{
|
|
249374
|
+
"const": "editResolvedPart"
|
|
249375
|
+
},
|
|
249376
|
+
{
|
|
249377
|
+
"const": "error"
|
|
249378
|
+
}
|
|
249379
|
+
]
|
|
249380
|
+
}
|
|
249381
|
+
},
|
|
249382
|
+
"required": [
|
|
249383
|
+
"kind",
|
|
249384
|
+
"storyType",
|
|
249385
|
+
"section",
|
|
249386
|
+
"headerFooterKind",
|
|
249387
|
+
"variant"
|
|
249388
|
+
]
|
|
249389
|
+
},
|
|
249390
|
+
{
|
|
249391
|
+
"type": "object",
|
|
249392
|
+
"properties": {
|
|
249393
|
+
"kind": {
|
|
249394
|
+
"const": "story"
|
|
249395
|
+
},
|
|
249396
|
+
"storyType": {
|
|
249397
|
+
"const": "headerFooterPart"
|
|
249398
|
+
},
|
|
249399
|
+
"refId": {
|
|
249400
|
+
"type": "string"
|
|
249401
|
+
}
|
|
249402
|
+
},
|
|
249403
|
+
"required": [
|
|
249404
|
+
"kind",
|
|
249405
|
+
"storyType",
|
|
249406
|
+
"refId"
|
|
249407
|
+
]
|
|
249408
|
+
},
|
|
249409
|
+
{
|
|
249410
|
+
"type": "object",
|
|
249411
|
+
"properties": {
|
|
249412
|
+
"kind": {
|
|
249413
|
+
"const": "story"
|
|
249414
|
+
},
|
|
249415
|
+
"storyType": {
|
|
249416
|
+
"const": "footnote"
|
|
249417
|
+
},
|
|
249418
|
+
"noteId": {
|
|
249419
|
+
"type": "string"
|
|
249420
|
+
}
|
|
249421
|
+
},
|
|
249422
|
+
"required": [
|
|
249423
|
+
"kind",
|
|
249424
|
+
"storyType",
|
|
249425
|
+
"noteId"
|
|
249426
|
+
]
|
|
249427
|
+
},
|
|
249428
|
+
{
|
|
249429
|
+
"type": "object",
|
|
249430
|
+
"properties": {
|
|
249431
|
+
"kind": {
|
|
249432
|
+
"const": "story"
|
|
249433
|
+
},
|
|
249434
|
+
"storyType": {
|
|
249435
|
+
"const": "endnote"
|
|
249436
|
+
},
|
|
249437
|
+
"noteId": {
|
|
249438
|
+
"type": "string"
|
|
249439
|
+
}
|
|
249440
|
+
},
|
|
249441
|
+
"required": [
|
|
249442
|
+
"kind",
|
|
249443
|
+
"storyType",
|
|
249444
|
+
"noteId"
|
|
249445
|
+
]
|
|
249446
|
+
},
|
|
249447
|
+
{
|
|
249448
|
+
"type": "object",
|
|
249449
|
+
"properties": {
|
|
249450
|
+
"kind": {
|
|
249451
|
+
"const": "story"
|
|
249452
|
+
},
|
|
249453
|
+
"storyType": {
|
|
249454
|
+
"const": "textbox"
|
|
249455
|
+
},
|
|
249456
|
+
"textboxId": {
|
|
249457
|
+
"type": "string"
|
|
249458
|
+
}
|
|
249459
|
+
},
|
|
249460
|
+
"required": [
|
|
249461
|
+
"kind",
|
|
249462
|
+
"storyType",
|
|
249463
|
+
"textboxId"
|
|
249464
|
+
]
|
|
249465
|
+
}
|
|
249466
|
+
],
|
|
249467
|
+
"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."
|
|
249468
|
+
},
|
|
249469
|
+
"storyId": {
|
|
249470
|
+
"type": "string"
|
|
249471
|
+
},
|
|
249472
|
+
"fieldId": {
|
|
249473
|
+
"type": "string"
|
|
249474
|
+
},
|
|
249475
|
+
"occurrenceIndex": {
|
|
249476
|
+
"type": "number"
|
|
248709
249477
|
}
|
|
248710
249478
|
},
|
|
248711
249479
|
"required": [
|
|
@@ -248735,6 +249503,18 @@ const CONTRACT = {
|
|
|
248735
249503
|
},
|
|
248736
249504
|
"anchor": {
|
|
248737
249505
|
"$ref": "#/$defs/InlineAnchor"
|
|
249506
|
+
},
|
|
249507
|
+
"story": {
|
|
249508
|
+
"$ref": "#/$defs/StoryLocator"
|
|
249509
|
+
},
|
|
249510
|
+
"storyId": {
|
|
249511
|
+
"type": "string"
|
|
249512
|
+
},
|
|
249513
|
+
"fieldId": {
|
|
249514
|
+
"type": "string"
|
|
249515
|
+
},
|
|
249516
|
+
"occurrenceIndex": {
|
|
249517
|
+
"type": "integer"
|
|
248738
249518
|
}
|
|
248739
249519
|
},
|
|
248740
249520
|
"additionalProperties": false,
|
|
@@ -248769,6 +249549,18 @@ const CONTRACT = {
|
|
|
248769
249549
|
},
|
|
248770
249550
|
"anchor": {
|
|
248771
249551
|
"$ref": "#/$defs/InlineAnchor"
|
|
249552
|
+
},
|
|
249553
|
+
"story": {
|
|
249554
|
+
"$ref": "#/$defs/StoryLocator"
|
|
249555
|
+
},
|
|
249556
|
+
"storyId": {
|
|
249557
|
+
"type": "string"
|
|
249558
|
+
},
|
|
249559
|
+
"fieldId": {
|
|
249560
|
+
"type": "string"
|
|
249561
|
+
},
|
|
249562
|
+
"occurrenceIndex": {
|
|
249563
|
+
"type": "integer"
|
|
248772
249564
|
}
|
|
248773
249565
|
},
|
|
248774
249566
|
"additionalProperties": false,
|
|
@@ -248834,6 +249626,18 @@ const CONTRACT = {
|
|
|
248834
249626
|
},
|
|
248835
249627
|
"anchor": {
|
|
248836
249628
|
"$ref": "#/$defs/InlineAnchor"
|
|
249629
|
+
},
|
|
249630
|
+
"story": {
|
|
249631
|
+
"$ref": "#/$defs/StoryLocator"
|
|
249632
|
+
},
|
|
249633
|
+
"storyId": {
|
|
249634
|
+
"type": "string"
|
|
249635
|
+
},
|
|
249636
|
+
"fieldId": {
|
|
249637
|
+
"type": "string"
|
|
249638
|
+
},
|
|
249639
|
+
"occurrenceIndex": {
|
|
249640
|
+
"type": "integer"
|
|
248837
249641
|
}
|
|
248838
249642
|
},
|
|
248839
249643
|
"additionalProperties": false,
|