@superdoc-dev/sdk 1.15.0-next.9 → 1.16.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/client.cjs +6 -0
- package/dist/generated/client.d.ts +114 -0
- package/dist/generated/client.d.ts.map +1 -1
- package/dist/generated/client.js +6 -0
- package/dist/generated/contract.cjs +1277 -265
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +1277 -265
- package/package.json +6 -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 +4 -0
- package/tools/tools-policy.json +1 -1
- package/tools/tools.anthropic.json +4 -0
- package/tools/tools.generic.json +4 -0
- package/tools/tools.openai.json +4 -0
- package/tools/tools.vercel.json +4 -0
|
@@ -37650,6 +37650,886 @@ export const CONTRACT = {
|
|
|
37650
37650
|
]
|
|
37651
37651
|
}
|
|
37652
37652
|
},
|
|
37653
|
+
"doc.templates.apply": {
|
|
37654
|
+
"operationId": "doc.templates.apply",
|
|
37655
|
+
"sdkSurface": "document",
|
|
37656
|
+
"command": "templates apply",
|
|
37657
|
+
"commandTokens": [
|
|
37658
|
+
"templates",
|
|
37659
|
+
"apply"
|
|
37660
|
+
],
|
|
37661
|
+
"category": "core",
|
|
37662
|
+
"description": "Apply detected DOCX template/substrate (styles, numbering, settings, theme, font table, web settings, headers/footers, section defaults) from a source package onto the current document, preserving body content. Scopes are auto-detected from source package evidence.",
|
|
37663
|
+
"requiresDocumentContext": true,
|
|
37664
|
+
"docRequirement": "optional",
|
|
37665
|
+
"responseEnvelopeKey": "receipt",
|
|
37666
|
+
"params": [
|
|
37667
|
+
{
|
|
37668
|
+
"name": "doc",
|
|
37669
|
+
"kind": "doc",
|
|
37670
|
+
"type": "string",
|
|
37671
|
+
"description": "Document path. Optional when a session is already open."
|
|
37672
|
+
},
|
|
37673
|
+
{
|
|
37674
|
+
"name": "sessionId",
|
|
37675
|
+
"kind": "flag",
|
|
37676
|
+
"type": "string",
|
|
37677
|
+
"flag": "session",
|
|
37678
|
+
"description": "Session ID for multi-session workflows. Optional when only one session is open."
|
|
37679
|
+
},
|
|
37680
|
+
{
|
|
37681
|
+
"name": "out",
|
|
37682
|
+
"kind": "flag",
|
|
37683
|
+
"type": "string",
|
|
37684
|
+
"agentVisible": false
|
|
37685
|
+
},
|
|
37686
|
+
{
|
|
37687
|
+
"name": "force",
|
|
37688
|
+
"kind": "flag",
|
|
37689
|
+
"type": "boolean",
|
|
37690
|
+
"description": "Bypass confirmation checks."
|
|
37691
|
+
},
|
|
37692
|
+
{
|
|
37693
|
+
"name": "expectedRevision",
|
|
37694
|
+
"kind": "flag",
|
|
37695
|
+
"type": "number",
|
|
37696
|
+
"flag": "expected-revision",
|
|
37697
|
+
"agentVisible": false
|
|
37698
|
+
},
|
|
37699
|
+
{
|
|
37700
|
+
"name": "changeMode",
|
|
37701
|
+
"kind": "flag",
|
|
37702
|
+
"type": "string",
|
|
37703
|
+
"flag": "change-mode",
|
|
37704
|
+
"schema": {
|
|
37705
|
+
"type": "string",
|
|
37706
|
+
"enum": [
|
|
37707
|
+
"direct",
|
|
37708
|
+
"tracked"
|
|
37709
|
+
]
|
|
37710
|
+
},
|
|
37711
|
+
"description": "Edit mode: \"direct\" applies changes immediately, \"tracked\" records as suggestions."
|
|
37712
|
+
},
|
|
37713
|
+
{
|
|
37714
|
+
"name": "dryRun",
|
|
37715
|
+
"kind": "flag",
|
|
37716
|
+
"type": "boolean",
|
|
37717
|
+
"flag": "dry-run",
|
|
37718
|
+
"description": "Preview the result without applying changes."
|
|
37719
|
+
},
|
|
37720
|
+
{
|
|
37721
|
+
"name": "source",
|
|
37722
|
+
"kind": "jsonFlag",
|
|
37723
|
+
"type": "json",
|
|
37724
|
+
"flag": "source-json",
|
|
37725
|
+
"required": true,
|
|
37726
|
+
"schema": {
|
|
37727
|
+
"oneOf": [
|
|
37728
|
+
{
|
|
37729
|
+
"type": "object",
|
|
37730
|
+
"properties": {
|
|
37731
|
+
"kind": {
|
|
37732
|
+
"const": "path"
|
|
37733
|
+
},
|
|
37734
|
+
"path": {
|
|
37735
|
+
"type": "string"
|
|
37736
|
+
}
|
|
37737
|
+
},
|
|
37738
|
+
"required": [
|
|
37739
|
+
"kind",
|
|
37740
|
+
"path"
|
|
37741
|
+
]
|
|
37742
|
+
},
|
|
37743
|
+
{
|
|
37744
|
+
"type": "object",
|
|
37745
|
+
"properties": {
|
|
37746
|
+
"kind": {
|
|
37747
|
+
"const": "base64"
|
|
37748
|
+
},
|
|
37749
|
+
"data": {
|
|
37750
|
+
"type": "string"
|
|
37751
|
+
},
|
|
37752
|
+
"filename": {
|
|
37753
|
+
"type": "string"
|
|
37754
|
+
}
|
|
37755
|
+
},
|
|
37756
|
+
"required": [
|
|
37757
|
+
"kind",
|
|
37758
|
+
"data"
|
|
37759
|
+
]
|
|
37760
|
+
}
|
|
37761
|
+
]
|
|
37762
|
+
}
|
|
37763
|
+
},
|
|
37764
|
+
{
|
|
37765
|
+
"name": "bodyPolicy",
|
|
37766
|
+
"kind": "jsonFlag",
|
|
37767
|
+
"type": "json",
|
|
37768
|
+
"flag": "body-policy-json",
|
|
37769
|
+
"schema": {
|
|
37770
|
+
"const": "preserve"
|
|
37771
|
+
}
|
|
37772
|
+
}
|
|
37773
|
+
],
|
|
37774
|
+
"constraints": null,
|
|
37775
|
+
"mutates": true,
|
|
37776
|
+
"idempotency": "conditional",
|
|
37777
|
+
"supportsTrackedMode": false,
|
|
37778
|
+
"supportsDryRun": true,
|
|
37779
|
+
"inputSchema": {
|
|
37780
|
+
"type": "object",
|
|
37781
|
+
"properties": {
|
|
37782
|
+
"source": {
|
|
37783
|
+
"oneOf": [
|
|
37784
|
+
{
|
|
37785
|
+
"type": "object",
|
|
37786
|
+
"properties": {
|
|
37787
|
+
"kind": {
|
|
37788
|
+
"const": "path"
|
|
37789
|
+
},
|
|
37790
|
+
"path": {
|
|
37791
|
+
"type": "string"
|
|
37792
|
+
}
|
|
37793
|
+
},
|
|
37794
|
+
"additionalProperties": false,
|
|
37795
|
+
"required": [
|
|
37796
|
+
"kind",
|
|
37797
|
+
"path"
|
|
37798
|
+
]
|
|
37799
|
+
},
|
|
37800
|
+
{
|
|
37801
|
+
"type": "object",
|
|
37802
|
+
"properties": {
|
|
37803
|
+
"kind": {
|
|
37804
|
+
"const": "base64"
|
|
37805
|
+
},
|
|
37806
|
+
"data": {
|
|
37807
|
+
"type": "string"
|
|
37808
|
+
},
|
|
37809
|
+
"filename": {
|
|
37810
|
+
"type": "string"
|
|
37811
|
+
}
|
|
37812
|
+
},
|
|
37813
|
+
"additionalProperties": false,
|
|
37814
|
+
"required": [
|
|
37815
|
+
"kind",
|
|
37816
|
+
"data"
|
|
37817
|
+
]
|
|
37818
|
+
}
|
|
37819
|
+
]
|
|
37820
|
+
},
|
|
37821
|
+
"bodyPolicy": {
|
|
37822
|
+
"const": "preserve"
|
|
37823
|
+
}
|
|
37824
|
+
},
|
|
37825
|
+
"additionalProperties": false,
|
|
37826
|
+
"required": [
|
|
37827
|
+
"source"
|
|
37828
|
+
]
|
|
37829
|
+
},
|
|
37830
|
+
"outputSchema": {
|
|
37831
|
+
"oneOf": [
|
|
37832
|
+
{
|
|
37833
|
+
"type": "object",
|
|
37834
|
+
"properties": {
|
|
37835
|
+
"success": {
|
|
37836
|
+
"const": true
|
|
37837
|
+
},
|
|
37838
|
+
"changed": {
|
|
37839
|
+
"type": "boolean"
|
|
37840
|
+
},
|
|
37841
|
+
"dryRun": {
|
|
37842
|
+
"type": "boolean"
|
|
37843
|
+
},
|
|
37844
|
+
"bodyPolicy": {
|
|
37845
|
+
"const": "preserve"
|
|
37846
|
+
},
|
|
37847
|
+
"source": {
|
|
37848
|
+
"type": "object",
|
|
37849
|
+
"properties": {
|
|
37850
|
+
"kind": {
|
|
37851
|
+
"enum": [
|
|
37852
|
+
"path",
|
|
37853
|
+
"base64"
|
|
37854
|
+
]
|
|
37855
|
+
},
|
|
37856
|
+
"fingerprint": {
|
|
37857
|
+
"type": "string"
|
|
37858
|
+
},
|
|
37859
|
+
"partCount": {
|
|
37860
|
+
"type": "integer"
|
|
37861
|
+
}
|
|
37862
|
+
},
|
|
37863
|
+
"additionalProperties": false,
|
|
37864
|
+
"required": [
|
|
37865
|
+
"kind",
|
|
37866
|
+
"fingerprint",
|
|
37867
|
+
"partCount"
|
|
37868
|
+
]
|
|
37869
|
+
},
|
|
37870
|
+
"detectedScopes": {
|
|
37871
|
+
"type": "array",
|
|
37872
|
+
"items": {
|
|
37873
|
+
"type": "object",
|
|
37874
|
+
"properties": {
|
|
37875
|
+
"scope": {
|
|
37876
|
+
"enum": [
|
|
37877
|
+
"styles",
|
|
37878
|
+
"numbering",
|
|
37879
|
+
"settings",
|
|
37880
|
+
"theme",
|
|
37881
|
+
"fontTable",
|
|
37882
|
+
"webSettings",
|
|
37883
|
+
"headersFooters",
|
|
37884
|
+
"sectionDefaults"
|
|
37885
|
+
]
|
|
37886
|
+
},
|
|
37887
|
+
"part": {
|
|
37888
|
+
"type": "string"
|
|
37889
|
+
},
|
|
37890
|
+
"detail": {
|
|
37891
|
+
"type": "string"
|
|
37892
|
+
}
|
|
37893
|
+
},
|
|
37894
|
+
"additionalProperties": false,
|
|
37895
|
+
"required": [
|
|
37896
|
+
"scope",
|
|
37897
|
+
"part"
|
|
37898
|
+
]
|
|
37899
|
+
}
|
|
37900
|
+
},
|
|
37901
|
+
"appliedScopes": {
|
|
37902
|
+
"type": "array",
|
|
37903
|
+
"items": {
|
|
37904
|
+
"type": "object",
|
|
37905
|
+
"properties": {
|
|
37906
|
+
"scope": {
|
|
37907
|
+
"enum": [
|
|
37908
|
+
"styles",
|
|
37909
|
+
"numbering",
|
|
37910
|
+
"settings",
|
|
37911
|
+
"theme",
|
|
37912
|
+
"fontTable",
|
|
37913
|
+
"webSettings",
|
|
37914
|
+
"headersFooters",
|
|
37915
|
+
"sectionDefaults"
|
|
37916
|
+
]
|
|
37917
|
+
},
|
|
37918
|
+
"part": {
|
|
37919
|
+
"type": "string"
|
|
37920
|
+
},
|
|
37921
|
+
"detail": {
|
|
37922
|
+
"type": "string"
|
|
37923
|
+
}
|
|
37924
|
+
},
|
|
37925
|
+
"additionalProperties": false,
|
|
37926
|
+
"required": [
|
|
37927
|
+
"scope",
|
|
37928
|
+
"part"
|
|
37929
|
+
]
|
|
37930
|
+
}
|
|
37931
|
+
},
|
|
37932
|
+
"skippedScopes": {
|
|
37933
|
+
"type": "array",
|
|
37934
|
+
"items": {
|
|
37935
|
+
"type": "object",
|
|
37936
|
+
"properties": {
|
|
37937
|
+
"scope": {
|
|
37938
|
+
"type": "string"
|
|
37939
|
+
},
|
|
37940
|
+
"part": {
|
|
37941
|
+
"type": "string"
|
|
37942
|
+
},
|
|
37943
|
+
"reason": {
|
|
37944
|
+
"enum": [
|
|
37945
|
+
"NOT_PRESENT_IN_SOURCE",
|
|
37946
|
+
"OUT_OF_SCOPE",
|
|
37947
|
+
"NO_CHANGE",
|
|
37948
|
+
"CAPABILITY_UNAVAILABLE"
|
|
37949
|
+
]
|
|
37950
|
+
},
|
|
37951
|
+
"message": {
|
|
37952
|
+
"type": "string"
|
|
37953
|
+
}
|
|
37954
|
+
},
|
|
37955
|
+
"additionalProperties": false,
|
|
37956
|
+
"required": [
|
|
37957
|
+
"scope",
|
|
37958
|
+
"reason",
|
|
37959
|
+
"message"
|
|
37960
|
+
]
|
|
37961
|
+
}
|
|
37962
|
+
},
|
|
37963
|
+
"unsupportedItems": {
|
|
37964
|
+
"type": "array",
|
|
37965
|
+
"items": {
|
|
37966
|
+
"type": "object",
|
|
37967
|
+
"properties": {
|
|
37968
|
+
"part": {
|
|
37969
|
+
"type": "string"
|
|
37970
|
+
},
|
|
37971
|
+
"category": {
|
|
37972
|
+
"type": "string"
|
|
37973
|
+
},
|
|
37974
|
+
"reason": {
|
|
37975
|
+
"type": "string"
|
|
37976
|
+
}
|
|
37977
|
+
},
|
|
37978
|
+
"additionalProperties": false,
|
|
37979
|
+
"required": [
|
|
37980
|
+
"part",
|
|
37981
|
+
"category",
|
|
37982
|
+
"reason"
|
|
37983
|
+
]
|
|
37984
|
+
}
|
|
37985
|
+
},
|
|
37986
|
+
"changedParts": {
|
|
37987
|
+
"type": "array",
|
|
37988
|
+
"items": {
|
|
37989
|
+
"type": "object",
|
|
37990
|
+
"properties": {
|
|
37991
|
+
"part": {
|
|
37992
|
+
"type": "string"
|
|
37993
|
+
},
|
|
37994
|
+
"scope": {
|
|
37995
|
+
"enum": [
|
|
37996
|
+
"styles",
|
|
37997
|
+
"numbering",
|
|
37998
|
+
"settings",
|
|
37999
|
+
"theme",
|
|
38000
|
+
"fontTable",
|
|
38001
|
+
"webSettings",
|
|
38002
|
+
"headersFooters",
|
|
38003
|
+
"sectionDefaults",
|
|
38004
|
+
"package"
|
|
38005
|
+
]
|
|
38006
|
+
},
|
|
38007
|
+
"change": {
|
|
38008
|
+
"enum": [
|
|
38009
|
+
"created",
|
|
38010
|
+
"replaced",
|
|
38011
|
+
"merged",
|
|
38012
|
+
"imported"
|
|
38013
|
+
]
|
|
38014
|
+
}
|
|
38015
|
+
},
|
|
38016
|
+
"additionalProperties": false,
|
|
38017
|
+
"required": [
|
|
38018
|
+
"part",
|
|
38019
|
+
"scope",
|
|
38020
|
+
"change"
|
|
38021
|
+
]
|
|
38022
|
+
}
|
|
38023
|
+
},
|
|
38024
|
+
"idMappings": {
|
|
38025
|
+
"type": "object",
|
|
38026
|
+
"properties": {
|
|
38027
|
+
"styles": {
|
|
38028
|
+
"type": "array",
|
|
38029
|
+
"items": {
|
|
38030
|
+
"type": "object",
|
|
38031
|
+
"properties": {
|
|
38032
|
+
"kind": {
|
|
38033
|
+
"enum": [
|
|
38034
|
+
"style",
|
|
38035
|
+
"numbering",
|
|
38036
|
+
"relationship"
|
|
38037
|
+
]
|
|
38038
|
+
},
|
|
38039
|
+
"from": {
|
|
38040
|
+
"type": "string"
|
|
38041
|
+
},
|
|
38042
|
+
"to": {
|
|
38043
|
+
"type": "string"
|
|
38044
|
+
}
|
|
38045
|
+
},
|
|
38046
|
+
"additionalProperties": false,
|
|
38047
|
+
"required": [
|
|
38048
|
+
"kind",
|
|
38049
|
+
"from",
|
|
38050
|
+
"to"
|
|
38051
|
+
]
|
|
38052
|
+
}
|
|
38053
|
+
},
|
|
38054
|
+
"numbering": {
|
|
38055
|
+
"type": "array",
|
|
38056
|
+
"items": {
|
|
38057
|
+
"type": "object",
|
|
38058
|
+
"properties": {
|
|
38059
|
+
"kind": {
|
|
38060
|
+
"enum": [
|
|
38061
|
+
"style",
|
|
38062
|
+
"numbering",
|
|
38063
|
+
"relationship"
|
|
38064
|
+
]
|
|
38065
|
+
},
|
|
38066
|
+
"from": {
|
|
38067
|
+
"type": "string"
|
|
38068
|
+
},
|
|
38069
|
+
"to": {
|
|
38070
|
+
"type": "string"
|
|
38071
|
+
}
|
|
38072
|
+
},
|
|
38073
|
+
"additionalProperties": false,
|
|
38074
|
+
"required": [
|
|
38075
|
+
"kind",
|
|
38076
|
+
"from",
|
|
38077
|
+
"to"
|
|
38078
|
+
]
|
|
38079
|
+
}
|
|
38080
|
+
},
|
|
38081
|
+
"relationships": {
|
|
38082
|
+
"type": "array",
|
|
38083
|
+
"items": {
|
|
38084
|
+
"type": "object",
|
|
38085
|
+
"properties": {
|
|
38086
|
+
"kind": {
|
|
38087
|
+
"enum": [
|
|
38088
|
+
"style",
|
|
38089
|
+
"numbering",
|
|
38090
|
+
"relationship"
|
|
38091
|
+
]
|
|
38092
|
+
},
|
|
38093
|
+
"from": {
|
|
38094
|
+
"type": "string"
|
|
38095
|
+
},
|
|
38096
|
+
"to": {
|
|
38097
|
+
"type": "string"
|
|
38098
|
+
}
|
|
38099
|
+
},
|
|
38100
|
+
"additionalProperties": false,
|
|
38101
|
+
"required": [
|
|
38102
|
+
"kind",
|
|
38103
|
+
"from",
|
|
38104
|
+
"to"
|
|
38105
|
+
]
|
|
38106
|
+
}
|
|
38107
|
+
}
|
|
38108
|
+
},
|
|
38109
|
+
"additionalProperties": false
|
|
38110
|
+
},
|
|
38111
|
+
"warnings": {
|
|
38112
|
+
"type": "array",
|
|
38113
|
+
"items": {
|
|
38114
|
+
"type": "object",
|
|
38115
|
+
"properties": {
|
|
38116
|
+
"code": {
|
|
38117
|
+
"type": "string"
|
|
38118
|
+
},
|
|
38119
|
+
"message": {
|
|
38120
|
+
"type": "string"
|
|
38121
|
+
}
|
|
38122
|
+
},
|
|
38123
|
+
"additionalProperties": false,
|
|
38124
|
+
"required": [
|
|
38125
|
+
"code",
|
|
38126
|
+
"message"
|
|
38127
|
+
]
|
|
38128
|
+
}
|
|
38129
|
+
}
|
|
38130
|
+
},
|
|
38131
|
+
"additionalProperties": false,
|
|
38132
|
+
"required": [
|
|
38133
|
+
"success",
|
|
38134
|
+
"changed",
|
|
38135
|
+
"dryRun",
|
|
38136
|
+
"bodyPolicy",
|
|
38137
|
+
"source",
|
|
38138
|
+
"detectedScopes",
|
|
38139
|
+
"appliedScopes",
|
|
38140
|
+
"skippedScopes",
|
|
38141
|
+
"unsupportedItems",
|
|
38142
|
+
"changedParts",
|
|
38143
|
+
"idMappings",
|
|
38144
|
+
"warnings"
|
|
38145
|
+
]
|
|
38146
|
+
},
|
|
38147
|
+
{
|
|
38148
|
+
"type": "object",
|
|
38149
|
+
"properties": {
|
|
38150
|
+
"success": {
|
|
38151
|
+
"const": false
|
|
38152
|
+
},
|
|
38153
|
+
"failure": {
|
|
38154
|
+
"type": "object",
|
|
38155
|
+
"properties": {
|
|
38156
|
+
"code": {
|
|
38157
|
+
"enum": [
|
|
38158
|
+
"UNSUPPORTED_SOURCE",
|
|
38159
|
+
"INVALID_PACKAGE",
|
|
38160
|
+
"CAPABILITY_UNAVAILABLE",
|
|
38161
|
+
"UNSUPPORTED_TEMPLATE_CONTENT"
|
|
38162
|
+
]
|
|
38163
|
+
},
|
|
38164
|
+
"message": {
|
|
38165
|
+
"type": "string"
|
|
38166
|
+
}
|
|
38167
|
+
},
|
|
38168
|
+
"additionalProperties": false,
|
|
38169
|
+
"required": [
|
|
38170
|
+
"code",
|
|
38171
|
+
"message"
|
|
38172
|
+
]
|
|
38173
|
+
}
|
|
38174
|
+
},
|
|
38175
|
+
"additionalProperties": false,
|
|
38176
|
+
"required": [
|
|
38177
|
+
"success",
|
|
38178
|
+
"failure"
|
|
38179
|
+
]
|
|
38180
|
+
}
|
|
38181
|
+
]
|
|
38182
|
+
},
|
|
38183
|
+
"successSchema": {
|
|
38184
|
+
"type": "object",
|
|
38185
|
+
"properties": {
|
|
38186
|
+
"success": {
|
|
38187
|
+
"const": true
|
|
38188
|
+
},
|
|
38189
|
+
"changed": {
|
|
38190
|
+
"type": "boolean"
|
|
38191
|
+
},
|
|
38192
|
+
"dryRun": {
|
|
38193
|
+
"type": "boolean"
|
|
38194
|
+
},
|
|
38195
|
+
"bodyPolicy": {
|
|
38196
|
+
"const": "preserve"
|
|
38197
|
+
},
|
|
38198
|
+
"source": {
|
|
38199
|
+
"type": "object",
|
|
38200
|
+
"properties": {
|
|
38201
|
+
"kind": {
|
|
38202
|
+
"enum": [
|
|
38203
|
+
"path",
|
|
38204
|
+
"base64"
|
|
38205
|
+
]
|
|
38206
|
+
},
|
|
38207
|
+
"fingerprint": {
|
|
38208
|
+
"type": "string"
|
|
38209
|
+
},
|
|
38210
|
+
"partCount": {
|
|
38211
|
+
"type": "integer"
|
|
38212
|
+
}
|
|
38213
|
+
},
|
|
38214
|
+
"additionalProperties": false,
|
|
38215
|
+
"required": [
|
|
38216
|
+
"kind",
|
|
38217
|
+
"fingerprint",
|
|
38218
|
+
"partCount"
|
|
38219
|
+
]
|
|
38220
|
+
},
|
|
38221
|
+
"detectedScopes": {
|
|
38222
|
+
"type": "array",
|
|
38223
|
+
"items": {
|
|
38224
|
+
"type": "object",
|
|
38225
|
+
"properties": {
|
|
38226
|
+
"scope": {
|
|
38227
|
+
"enum": [
|
|
38228
|
+
"styles",
|
|
38229
|
+
"numbering",
|
|
38230
|
+
"settings",
|
|
38231
|
+
"theme",
|
|
38232
|
+
"fontTable",
|
|
38233
|
+
"webSettings",
|
|
38234
|
+
"headersFooters",
|
|
38235
|
+
"sectionDefaults"
|
|
38236
|
+
]
|
|
38237
|
+
},
|
|
38238
|
+
"part": {
|
|
38239
|
+
"type": "string"
|
|
38240
|
+
},
|
|
38241
|
+
"detail": {
|
|
38242
|
+
"type": "string"
|
|
38243
|
+
}
|
|
38244
|
+
},
|
|
38245
|
+
"additionalProperties": false,
|
|
38246
|
+
"required": [
|
|
38247
|
+
"scope",
|
|
38248
|
+
"part"
|
|
38249
|
+
]
|
|
38250
|
+
}
|
|
38251
|
+
},
|
|
38252
|
+
"appliedScopes": {
|
|
38253
|
+
"type": "array",
|
|
38254
|
+
"items": {
|
|
38255
|
+
"type": "object",
|
|
38256
|
+
"properties": {
|
|
38257
|
+
"scope": {
|
|
38258
|
+
"enum": [
|
|
38259
|
+
"styles",
|
|
38260
|
+
"numbering",
|
|
38261
|
+
"settings",
|
|
38262
|
+
"theme",
|
|
38263
|
+
"fontTable",
|
|
38264
|
+
"webSettings",
|
|
38265
|
+
"headersFooters",
|
|
38266
|
+
"sectionDefaults"
|
|
38267
|
+
]
|
|
38268
|
+
},
|
|
38269
|
+
"part": {
|
|
38270
|
+
"type": "string"
|
|
38271
|
+
},
|
|
38272
|
+
"detail": {
|
|
38273
|
+
"type": "string"
|
|
38274
|
+
}
|
|
38275
|
+
},
|
|
38276
|
+
"additionalProperties": false,
|
|
38277
|
+
"required": [
|
|
38278
|
+
"scope",
|
|
38279
|
+
"part"
|
|
38280
|
+
]
|
|
38281
|
+
}
|
|
38282
|
+
},
|
|
38283
|
+
"skippedScopes": {
|
|
38284
|
+
"type": "array",
|
|
38285
|
+
"items": {
|
|
38286
|
+
"type": "object",
|
|
38287
|
+
"properties": {
|
|
38288
|
+
"scope": {
|
|
38289
|
+
"type": "string"
|
|
38290
|
+
},
|
|
38291
|
+
"part": {
|
|
38292
|
+
"type": "string"
|
|
38293
|
+
},
|
|
38294
|
+
"reason": {
|
|
38295
|
+
"enum": [
|
|
38296
|
+
"NOT_PRESENT_IN_SOURCE",
|
|
38297
|
+
"OUT_OF_SCOPE",
|
|
38298
|
+
"NO_CHANGE",
|
|
38299
|
+
"CAPABILITY_UNAVAILABLE"
|
|
38300
|
+
]
|
|
38301
|
+
},
|
|
38302
|
+
"message": {
|
|
38303
|
+
"type": "string"
|
|
38304
|
+
}
|
|
38305
|
+
},
|
|
38306
|
+
"additionalProperties": false,
|
|
38307
|
+
"required": [
|
|
38308
|
+
"scope",
|
|
38309
|
+
"reason",
|
|
38310
|
+
"message"
|
|
38311
|
+
]
|
|
38312
|
+
}
|
|
38313
|
+
},
|
|
38314
|
+
"unsupportedItems": {
|
|
38315
|
+
"type": "array",
|
|
38316
|
+
"items": {
|
|
38317
|
+
"type": "object",
|
|
38318
|
+
"properties": {
|
|
38319
|
+
"part": {
|
|
38320
|
+
"type": "string"
|
|
38321
|
+
},
|
|
38322
|
+
"category": {
|
|
38323
|
+
"type": "string"
|
|
38324
|
+
},
|
|
38325
|
+
"reason": {
|
|
38326
|
+
"type": "string"
|
|
38327
|
+
}
|
|
38328
|
+
},
|
|
38329
|
+
"additionalProperties": false,
|
|
38330
|
+
"required": [
|
|
38331
|
+
"part",
|
|
38332
|
+
"category",
|
|
38333
|
+
"reason"
|
|
38334
|
+
]
|
|
38335
|
+
}
|
|
38336
|
+
},
|
|
38337
|
+
"changedParts": {
|
|
38338
|
+
"type": "array",
|
|
38339
|
+
"items": {
|
|
38340
|
+
"type": "object",
|
|
38341
|
+
"properties": {
|
|
38342
|
+
"part": {
|
|
38343
|
+
"type": "string"
|
|
38344
|
+
},
|
|
38345
|
+
"scope": {
|
|
38346
|
+
"enum": [
|
|
38347
|
+
"styles",
|
|
38348
|
+
"numbering",
|
|
38349
|
+
"settings",
|
|
38350
|
+
"theme",
|
|
38351
|
+
"fontTable",
|
|
38352
|
+
"webSettings",
|
|
38353
|
+
"headersFooters",
|
|
38354
|
+
"sectionDefaults",
|
|
38355
|
+
"package"
|
|
38356
|
+
]
|
|
38357
|
+
},
|
|
38358
|
+
"change": {
|
|
38359
|
+
"enum": [
|
|
38360
|
+
"created",
|
|
38361
|
+
"replaced",
|
|
38362
|
+
"merged",
|
|
38363
|
+
"imported"
|
|
38364
|
+
]
|
|
38365
|
+
}
|
|
38366
|
+
},
|
|
38367
|
+
"additionalProperties": false,
|
|
38368
|
+
"required": [
|
|
38369
|
+
"part",
|
|
38370
|
+
"scope",
|
|
38371
|
+
"change"
|
|
38372
|
+
]
|
|
38373
|
+
}
|
|
38374
|
+
},
|
|
38375
|
+
"idMappings": {
|
|
38376
|
+
"type": "object",
|
|
38377
|
+
"properties": {
|
|
38378
|
+
"styles": {
|
|
38379
|
+
"type": "array",
|
|
38380
|
+
"items": {
|
|
38381
|
+
"type": "object",
|
|
38382
|
+
"properties": {
|
|
38383
|
+
"kind": {
|
|
38384
|
+
"enum": [
|
|
38385
|
+
"style",
|
|
38386
|
+
"numbering",
|
|
38387
|
+
"relationship"
|
|
38388
|
+
]
|
|
38389
|
+
},
|
|
38390
|
+
"from": {
|
|
38391
|
+
"type": "string"
|
|
38392
|
+
},
|
|
38393
|
+
"to": {
|
|
38394
|
+
"type": "string"
|
|
38395
|
+
}
|
|
38396
|
+
},
|
|
38397
|
+
"additionalProperties": false,
|
|
38398
|
+
"required": [
|
|
38399
|
+
"kind",
|
|
38400
|
+
"from",
|
|
38401
|
+
"to"
|
|
38402
|
+
]
|
|
38403
|
+
}
|
|
38404
|
+
},
|
|
38405
|
+
"numbering": {
|
|
38406
|
+
"type": "array",
|
|
38407
|
+
"items": {
|
|
38408
|
+
"type": "object",
|
|
38409
|
+
"properties": {
|
|
38410
|
+
"kind": {
|
|
38411
|
+
"enum": [
|
|
38412
|
+
"style",
|
|
38413
|
+
"numbering",
|
|
38414
|
+
"relationship"
|
|
38415
|
+
]
|
|
38416
|
+
},
|
|
38417
|
+
"from": {
|
|
38418
|
+
"type": "string"
|
|
38419
|
+
},
|
|
38420
|
+
"to": {
|
|
38421
|
+
"type": "string"
|
|
38422
|
+
}
|
|
38423
|
+
},
|
|
38424
|
+
"additionalProperties": false,
|
|
38425
|
+
"required": [
|
|
38426
|
+
"kind",
|
|
38427
|
+
"from",
|
|
38428
|
+
"to"
|
|
38429
|
+
]
|
|
38430
|
+
}
|
|
38431
|
+
},
|
|
38432
|
+
"relationships": {
|
|
38433
|
+
"type": "array",
|
|
38434
|
+
"items": {
|
|
38435
|
+
"type": "object",
|
|
38436
|
+
"properties": {
|
|
38437
|
+
"kind": {
|
|
38438
|
+
"enum": [
|
|
38439
|
+
"style",
|
|
38440
|
+
"numbering",
|
|
38441
|
+
"relationship"
|
|
38442
|
+
]
|
|
38443
|
+
},
|
|
38444
|
+
"from": {
|
|
38445
|
+
"type": "string"
|
|
38446
|
+
},
|
|
38447
|
+
"to": {
|
|
38448
|
+
"type": "string"
|
|
38449
|
+
}
|
|
38450
|
+
},
|
|
38451
|
+
"additionalProperties": false,
|
|
38452
|
+
"required": [
|
|
38453
|
+
"kind",
|
|
38454
|
+
"from",
|
|
38455
|
+
"to"
|
|
38456
|
+
]
|
|
38457
|
+
}
|
|
38458
|
+
}
|
|
38459
|
+
},
|
|
38460
|
+
"additionalProperties": false
|
|
38461
|
+
},
|
|
38462
|
+
"warnings": {
|
|
38463
|
+
"type": "array",
|
|
38464
|
+
"items": {
|
|
38465
|
+
"type": "object",
|
|
38466
|
+
"properties": {
|
|
38467
|
+
"code": {
|
|
38468
|
+
"type": "string"
|
|
38469
|
+
},
|
|
38470
|
+
"message": {
|
|
38471
|
+
"type": "string"
|
|
38472
|
+
}
|
|
38473
|
+
},
|
|
38474
|
+
"additionalProperties": false,
|
|
38475
|
+
"required": [
|
|
38476
|
+
"code",
|
|
38477
|
+
"message"
|
|
38478
|
+
]
|
|
38479
|
+
}
|
|
38480
|
+
}
|
|
38481
|
+
},
|
|
38482
|
+
"additionalProperties": false,
|
|
38483
|
+
"required": [
|
|
38484
|
+
"success",
|
|
38485
|
+
"changed",
|
|
38486
|
+
"dryRun",
|
|
38487
|
+
"bodyPolicy",
|
|
38488
|
+
"source",
|
|
38489
|
+
"detectedScopes",
|
|
38490
|
+
"appliedScopes",
|
|
38491
|
+
"skippedScopes",
|
|
38492
|
+
"unsupportedItems",
|
|
38493
|
+
"changedParts",
|
|
38494
|
+
"idMappings",
|
|
38495
|
+
"warnings"
|
|
38496
|
+
]
|
|
38497
|
+
},
|
|
38498
|
+
"failureSchema": {
|
|
38499
|
+
"type": "object",
|
|
38500
|
+
"properties": {
|
|
38501
|
+
"success": {
|
|
38502
|
+
"const": false
|
|
38503
|
+
},
|
|
38504
|
+
"failure": {
|
|
38505
|
+
"type": "object",
|
|
38506
|
+
"properties": {
|
|
38507
|
+
"code": {
|
|
38508
|
+
"enum": [
|
|
38509
|
+
"UNSUPPORTED_SOURCE",
|
|
38510
|
+
"INVALID_PACKAGE",
|
|
38511
|
+
"CAPABILITY_UNAVAILABLE",
|
|
38512
|
+
"UNSUPPORTED_TEMPLATE_CONTENT"
|
|
38513
|
+
]
|
|
38514
|
+
},
|
|
38515
|
+
"message": {
|
|
38516
|
+
"type": "string"
|
|
38517
|
+
}
|
|
38518
|
+
},
|
|
38519
|
+
"additionalProperties": false,
|
|
38520
|
+
"required": [
|
|
38521
|
+
"code",
|
|
38522
|
+
"message"
|
|
38523
|
+
]
|
|
38524
|
+
}
|
|
38525
|
+
},
|
|
38526
|
+
"additionalProperties": false,
|
|
38527
|
+
"required": [
|
|
38528
|
+
"success",
|
|
38529
|
+
"failure"
|
|
38530
|
+
]
|
|
38531
|
+
}
|
|
38532
|
+
},
|
|
37653
38533
|
"doc.create.paragraph": {
|
|
37654
38534
|
"operationId": "doc.create.paragraph",
|
|
37655
38535
|
"sdkSurface": "document",
|
|
@@ -39645,6 +40525,20 @@ export const CONTRACT = {
|
|
|
39645
40525
|
"upperRoman",
|
|
39646
40526
|
"numberInDash"
|
|
39647
40527
|
]
|
|
40528
|
+
},
|
|
40529
|
+
"chapterStyle": {
|
|
40530
|
+
"type": "integer",
|
|
40531
|
+
"minimum": 1
|
|
40532
|
+
},
|
|
40533
|
+
"chapterSeparator": {
|
|
40534
|
+
"type": "string",
|
|
40535
|
+
"enum": [
|
|
40536
|
+
"hyphen",
|
|
40537
|
+
"period",
|
|
40538
|
+
"colon",
|
|
40539
|
+
"emDash",
|
|
40540
|
+
"enDash"
|
|
40541
|
+
]
|
|
39648
40542
|
}
|
|
39649
40543
|
},
|
|
39650
40544
|
"additionalProperties": false
|
|
@@ -40247,6 +41141,20 @@ export const CONTRACT = {
|
|
|
40247
41141
|
"upperRoman",
|
|
40248
41142
|
"numberInDash"
|
|
40249
41143
|
]
|
|
41144
|
+
},
|
|
41145
|
+
"chapterStyle": {
|
|
41146
|
+
"type": "integer",
|
|
41147
|
+
"minimum": 1
|
|
41148
|
+
},
|
|
41149
|
+
"chapterSeparator": {
|
|
41150
|
+
"type": "string",
|
|
41151
|
+
"enum": [
|
|
41152
|
+
"hyphen",
|
|
41153
|
+
"period",
|
|
41154
|
+
"colon",
|
|
41155
|
+
"emDash",
|
|
41156
|
+
"enDash"
|
|
41157
|
+
]
|
|
40250
41158
|
}
|
|
40251
41159
|
},
|
|
40252
41160
|
"additionalProperties": false
|
|
@@ -42016,309 +42924,340 @@ export const CONTRACT = {
|
|
|
42016
42924
|
]
|
|
42017
42925
|
}
|
|
42018
42926
|
},
|
|
42019
|
-
{
|
|
42020
|
-
"name": "enabled",
|
|
42021
|
-
"kind": "flag",
|
|
42022
|
-
"type": "boolean",
|
|
42023
|
-
"required": true
|
|
42024
|
-
},
|
|
42025
|
-
{
|
|
42026
|
-
"name": "countBy",
|
|
42027
|
-
"kind": "flag",
|
|
42028
|
-
"type": "number",
|
|
42029
|
-
"flag": "count-by"
|
|
42030
|
-
},
|
|
42927
|
+
{
|
|
42928
|
+
"name": "enabled",
|
|
42929
|
+
"kind": "flag",
|
|
42930
|
+
"type": "boolean",
|
|
42931
|
+
"required": true
|
|
42932
|
+
},
|
|
42933
|
+
{
|
|
42934
|
+
"name": "countBy",
|
|
42935
|
+
"kind": "flag",
|
|
42936
|
+
"type": "number",
|
|
42937
|
+
"flag": "count-by"
|
|
42938
|
+
},
|
|
42939
|
+
{
|
|
42940
|
+
"name": "start",
|
|
42941
|
+
"kind": "flag",
|
|
42942
|
+
"type": "number"
|
|
42943
|
+
},
|
|
42944
|
+
{
|
|
42945
|
+
"name": "distance",
|
|
42946
|
+
"kind": "flag",
|
|
42947
|
+
"type": "number"
|
|
42948
|
+
},
|
|
42949
|
+
{
|
|
42950
|
+
"name": "restart",
|
|
42951
|
+
"kind": "flag",
|
|
42952
|
+
"type": "string",
|
|
42953
|
+
"schema": {
|
|
42954
|
+
"oneOf": [
|
|
42955
|
+
{
|
|
42956
|
+
"const": "continuous"
|
|
42957
|
+
},
|
|
42958
|
+
{
|
|
42959
|
+
"const": "newPage"
|
|
42960
|
+
},
|
|
42961
|
+
{
|
|
42962
|
+
"const": "newSection"
|
|
42963
|
+
}
|
|
42964
|
+
]
|
|
42965
|
+
}
|
|
42966
|
+
}
|
|
42967
|
+
],
|
|
42968
|
+
"constraints": null,
|
|
42969
|
+
"mutates": true,
|
|
42970
|
+
"idempotency": "conditional",
|
|
42971
|
+
"supportsTrackedMode": false,
|
|
42972
|
+
"supportsDryRun": true,
|
|
42973
|
+
"inputSchema": {
|
|
42974
|
+
"type": "object",
|
|
42975
|
+
"properties": {
|
|
42976
|
+
"target": {
|
|
42977
|
+
"$ref": "#/$defs/SectionAddress"
|
|
42978
|
+
},
|
|
42979
|
+
"enabled": {
|
|
42980
|
+
"type": "boolean"
|
|
42981
|
+
},
|
|
42982
|
+
"countBy": {
|
|
42983
|
+
"type": "integer",
|
|
42984
|
+
"minimum": 1
|
|
42985
|
+
},
|
|
42986
|
+
"start": {
|
|
42987
|
+
"type": "integer",
|
|
42988
|
+
"minimum": 1
|
|
42989
|
+
},
|
|
42990
|
+
"distance": {
|
|
42991
|
+
"type": "number",
|
|
42992
|
+
"minimum": 0
|
|
42993
|
+
},
|
|
42994
|
+
"restart": {
|
|
42995
|
+
"enum": [
|
|
42996
|
+
"continuous",
|
|
42997
|
+
"newPage",
|
|
42998
|
+
"newSection"
|
|
42999
|
+
]
|
|
43000
|
+
}
|
|
43001
|
+
},
|
|
43002
|
+
"additionalProperties": false,
|
|
43003
|
+
"required": [
|
|
43004
|
+
"target",
|
|
43005
|
+
"enabled"
|
|
43006
|
+
]
|
|
43007
|
+
},
|
|
43008
|
+
"outputSchema": {
|
|
43009
|
+
"oneOf": [
|
|
43010
|
+
{
|
|
43011
|
+
"type": "object",
|
|
43012
|
+
"properties": {
|
|
43013
|
+
"success": {
|
|
43014
|
+
"const": true
|
|
43015
|
+
},
|
|
43016
|
+
"section": {
|
|
43017
|
+
"$ref": "#/$defs/SectionAddress"
|
|
43018
|
+
}
|
|
43019
|
+
},
|
|
43020
|
+
"additionalProperties": false,
|
|
43021
|
+
"required": [
|
|
43022
|
+
"success",
|
|
43023
|
+
"section"
|
|
43024
|
+
]
|
|
43025
|
+
},
|
|
43026
|
+
{
|
|
43027
|
+
"type": "object",
|
|
43028
|
+
"properties": {
|
|
43029
|
+
"success": {
|
|
43030
|
+
"const": false
|
|
43031
|
+
},
|
|
43032
|
+
"failure": {
|
|
43033
|
+
"type": "object",
|
|
43034
|
+
"properties": {
|
|
43035
|
+
"code": {
|
|
43036
|
+
"enum": [
|
|
43037
|
+
"NO_OP",
|
|
43038
|
+
"INVALID_TARGET",
|
|
43039
|
+
"CAPABILITY_UNAVAILABLE"
|
|
43040
|
+
]
|
|
43041
|
+
},
|
|
43042
|
+
"message": {
|
|
43043
|
+
"type": "string"
|
|
43044
|
+
},
|
|
43045
|
+
"details": {}
|
|
43046
|
+
},
|
|
43047
|
+
"additionalProperties": false,
|
|
43048
|
+
"required": [
|
|
43049
|
+
"code",
|
|
43050
|
+
"message"
|
|
43051
|
+
]
|
|
43052
|
+
}
|
|
43053
|
+
},
|
|
43054
|
+
"additionalProperties": false,
|
|
43055
|
+
"required": [
|
|
43056
|
+
"success",
|
|
43057
|
+
"failure"
|
|
43058
|
+
]
|
|
43059
|
+
}
|
|
43060
|
+
]
|
|
43061
|
+
},
|
|
43062
|
+
"successSchema": {
|
|
43063
|
+
"type": "object",
|
|
43064
|
+
"properties": {
|
|
43065
|
+
"success": {
|
|
43066
|
+
"const": true
|
|
43067
|
+
},
|
|
43068
|
+
"section": {
|
|
43069
|
+
"$ref": "#/$defs/SectionAddress"
|
|
43070
|
+
}
|
|
43071
|
+
},
|
|
43072
|
+
"additionalProperties": false,
|
|
43073
|
+
"required": [
|
|
43074
|
+
"success",
|
|
43075
|
+
"section"
|
|
43076
|
+
]
|
|
43077
|
+
},
|
|
43078
|
+
"failureSchema": {
|
|
43079
|
+
"type": "object",
|
|
43080
|
+
"properties": {
|
|
43081
|
+
"success": {
|
|
43082
|
+
"const": false
|
|
43083
|
+
},
|
|
43084
|
+
"failure": {
|
|
43085
|
+
"type": "object",
|
|
43086
|
+
"properties": {
|
|
43087
|
+
"code": {
|
|
43088
|
+
"enum": [
|
|
43089
|
+
"NO_OP",
|
|
43090
|
+
"INVALID_TARGET",
|
|
43091
|
+
"CAPABILITY_UNAVAILABLE"
|
|
43092
|
+
]
|
|
43093
|
+
},
|
|
43094
|
+
"message": {
|
|
43095
|
+
"type": "string"
|
|
43096
|
+
},
|
|
43097
|
+
"details": {}
|
|
43098
|
+
},
|
|
43099
|
+
"additionalProperties": false,
|
|
43100
|
+
"required": [
|
|
43101
|
+
"code",
|
|
43102
|
+
"message"
|
|
43103
|
+
]
|
|
43104
|
+
}
|
|
43105
|
+
},
|
|
43106
|
+
"additionalProperties": false,
|
|
43107
|
+
"required": [
|
|
43108
|
+
"success",
|
|
43109
|
+
"failure"
|
|
43110
|
+
]
|
|
43111
|
+
}
|
|
43112
|
+
},
|
|
43113
|
+
"doc.sections.setPageNumbering": {
|
|
43114
|
+
"operationId": "doc.sections.setPageNumbering",
|
|
43115
|
+
"sdkSurface": "document",
|
|
43116
|
+
"command": "sections set-page-numbering",
|
|
43117
|
+
"commandTokens": [
|
|
43118
|
+
"sections",
|
|
43119
|
+
"set-page-numbering"
|
|
43120
|
+
],
|
|
43121
|
+
"category": "sections",
|
|
43122
|
+
"description": "Set page numbering format/start and chapter numbering settings for a section.",
|
|
43123
|
+
"requiresDocumentContext": true,
|
|
43124
|
+
"docRequirement": "optional",
|
|
43125
|
+
"responseEnvelopeKey": "result",
|
|
43126
|
+
"params": [
|
|
43127
|
+
{
|
|
43128
|
+
"name": "doc",
|
|
43129
|
+
"kind": "doc",
|
|
43130
|
+
"type": "string",
|
|
43131
|
+
"description": "Document path. Optional when a session is already open."
|
|
43132
|
+
},
|
|
43133
|
+
{
|
|
43134
|
+
"name": "sessionId",
|
|
43135
|
+
"kind": "flag",
|
|
43136
|
+
"type": "string",
|
|
43137
|
+
"flag": "session",
|
|
43138
|
+
"description": "Session ID for multi-session workflows. Optional when only one session is open."
|
|
43139
|
+
},
|
|
43140
|
+
{
|
|
43141
|
+
"name": "out",
|
|
43142
|
+
"kind": "flag",
|
|
43143
|
+
"type": "string",
|
|
43144
|
+
"agentVisible": false
|
|
43145
|
+
},
|
|
43146
|
+
{
|
|
43147
|
+
"name": "force",
|
|
43148
|
+
"kind": "flag",
|
|
43149
|
+
"type": "boolean",
|
|
43150
|
+
"description": "Bypass confirmation checks."
|
|
43151
|
+
},
|
|
43152
|
+
{
|
|
43153
|
+
"name": "expectedRevision",
|
|
43154
|
+
"kind": "flag",
|
|
43155
|
+
"type": "number",
|
|
43156
|
+
"flag": "expected-revision",
|
|
43157
|
+
"agentVisible": false
|
|
43158
|
+
},
|
|
43159
|
+
{
|
|
43160
|
+
"name": "changeMode",
|
|
43161
|
+
"kind": "flag",
|
|
43162
|
+
"type": "string",
|
|
43163
|
+
"flag": "change-mode",
|
|
43164
|
+
"schema": {
|
|
43165
|
+
"type": "string",
|
|
43166
|
+
"enum": [
|
|
43167
|
+
"direct",
|
|
43168
|
+
"tracked"
|
|
43169
|
+
]
|
|
43170
|
+
},
|
|
43171
|
+
"description": "Edit mode: \"direct\" applies changes immediately, \"tracked\" records as suggestions."
|
|
43172
|
+
},
|
|
43173
|
+
{
|
|
43174
|
+
"name": "dryRun",
|
|
43175
|
+
"kind": "flag",
|
|
43176
|
+
"type": "boolean",
|
|
43177
|
+
"flag": "dry-run",
|
|
43178
|
+
"description": "Preview the result without applying changes."
|
|
43179
|
+
},
|
|
43180
|
+
{
|
|
43181
|
+
"name": "target",
|
|
43182
|
+
"kind": "jsonFlag",
|
|
43183
|
+
"type": "json",
|
|
43184
|
+
"flag": "target-json",
|
|
43185
|
+
"required": true,
|
|
43186
|
+
"schema": {
|
|
43187
|
+
"type": "object",
|
|
43188
|
+
"properties": {
|
|
43189
|
+
"kind": {
|
|
43190
|
+
"const": "section"
|
|
43191
|
+
},
|
|
43192
|
+
"sectionId": {
|
|
43193
|
+
"type": "string"
|
|
43194
|
+
}
|
|
43195
|
+
},
|
|
43196
|
+
"required": [
|
|
43197
|
+
"kind",
|
|
43198
|
+
"sectionId"
|
|
43199
|
+
]
|
|
43200
|
+
}
|
|
43201
|
+
},
|
|
42031
43202
|
{
|
|
42032
43203
|
"name": "start",
|
|
42033
43204
|
"kind": "flag",
|
|
42034
43205
|
"type": "number"
|
|
42035
43206
|
},
|
|
42036
43207
|
{
|
|
42037
|
-
"name": "
|
|
42038
|
-
"kind": "flag",
|
|
42039
|
-
"type": "number"
|
|
42040
|
-
},
|
|
42041
|
-
{
|
|
42042
|
-
"name": "restart",
|
|
43208
|
+
"name": "format",
|
|
42043
43209
|
"kind": "flag",
|
|
42044
43210
|
"type": "string",
|
|
42045
43211
|
"schema": {
|
|
42046
43212
|
"oneOf": [
|
|
42047
43213
|
{
|
|
42048
|
-
"const": "
|
|
43214
|
+
"const": "decimal"
|
|
42049
43215
|
},
|
|
42050
43216
|
{
|
|
42051
|
-
"const": "
|
|
43217
|
+
"const": "lowerLetter"
|
|
42052
43218
|
},
|
|
42053
43219
|
{
|
|
42054
|
-
"const": "
|
|
42055
|
-
}
|
|
42056
|
-
]
|
|
42057
|
-
}
|
|
42058
|
-
}
|
|
42059
|
-
],
|
|
42060
|
-
"constraints": null,
|
|
42061
|
-
"mutates": true,
|
|
42062
|
-
"idempotency": "conditional",
|
|
42063
|
-
"supportsTrackedMode": false,
|
|
42064
|
-
"supportsDryRun": true,
|
|
42065
|
-
"inputSchema": {
|
|
42066
|
-
"type": "object",
|
|
42067
|
-
"properties": {
|
|
42068
|
-
"target": {
|
|
42069
|
-
"$ref": "#/$defs/SectionAddress"
|
|
42070
|
-
},
|
|
42071
|
-
"enabled": {
|
|
42072
|
-
"type": "boolean"
|
|
42073
|
-
},
|
|
42074
|
-
"countBy": {
|
|
42075
|
-
"type": "integer",
|
|
42076
|
-
"minimum": 1
|
|
42077
|
-
},
|
|
42078
|
-
"start": {
|
|
42079
|
-
"type": "integer",
|
|
42080
|
-
"minimum": 1
|
|
42081
|
-
},
|
|
42082
|
-
"distance": {
|
|
42083
|
-
"type": "number",
|
|
42084
|
-
"minimum": 0
|
|
42085
|
-
},
|
|
42086
|
-
"restart": {
|
|
42087
|
-
"enum": [
|
|
42088
|
-
"continuous",
|
|
42089
|
-
"newPage",
|
|
42090
|
-
"newSection"
|
|
42091
|
-
]
|
|
42092
|
-
}
|
|
42093
|
-
},
|
|
42094
|
-
"additionalProperties": false,
|
|
42095
|
-
"required": [
|
|
42096
|
-
"target",
|
|
42097
|
-
"enabled"
|
|
42098
|
-
]
|
|
42099
|
-
},
|
|
42100
|
-
"outputSchema": {
|
|
42101
|
-
"oneOf": [
|
|
42102
|
-
{
|
|
42103
|
-
"type": "object",
|
|
42104
|
-
"properties": {
|
|
42105
|
-
"success": {
|
|
42106
|
-
"const": true
|
|
42107
|
-
},
|
|
42108
|
-
"section": {
|
|
42109
|
-
"$ref": "#/$defs/SectionAddress"
|
|
42110
|
-
}
|
|
42111
|
-
},
|
|
42112
|
-
"additionalProperties": false,
|
|
42113
|
-
"required": [
|
|
42114
|
-
"success",
|
|
42115
|
-
"section"
|
|
42116
|
-
]
|
|
42117
|
-
},
|
|
42118
|
-
{
|
|
42119
|
-
"type": "object",
|
|
42120
|
-
"properties": {
|
|
42121
|
-
"success": {
|
|
42122
|
-
"const": false
|
|
42123
|
-
},
|
|
42124
|
-
"failure": {
|
|
42125
|
-
"type": "object",
|
|
42126
|
-
"properties": {
|
|
42127
|
-
"code": {
|
|
42128
|
-
"enum": [
|
|
42129
|
-
"NO_OP",
|
|
42130
|
-
"INVALID_TARGET",
|
|
42131
|
-
"CAPABILITY_UNAVAILABLE"
|
|
42132
|
-
]
|
|
42133
|
-
},
|
|
42134
|
-
"message": {
|
|
42135
|
-
"type": "string"
|
|
42136
|
-
},
|
|
42137
|
-
"details": {}
|
|
42138
|
-
},
|
|
42139
|
-
"additionalProperties": false,
|
|
42140
|
-
"required": [
|
|
42141
|
-
"code",
|
|
42142
|
-
"message"
|
|
42143
|
-
]
|
|
42144
|
-
}
|
|
42145
|
-
},
|
|
42146
|
-
"additionalProperties": false,
|
|
42147
|
-
"required": [
|
|
42148
|
-
"success",
|
|
42149
|
-
"failure"
|
|
42150
|
-
]
|
|
42151
|
-
}
|
|
42152
|
-
]
|
|
42153
|
-
},
|
|
42154
|
-
"successSchema": {
|
|
42155
|
-
"type": "object",
|
|
42156
|
-
"properties": {
|
|
42157
|
-
"success": {
|
|
42158
|
-
"const": true
|
|
42159
|
-
},
|
|
42160
|
-
"section": {
|
|
42161
|
-
"$ref": "#/$defs/SectionAddress"
|
|
42162
|
-
}
|
|
42163
|
-
},
|
|
42164
|
-
"additionalProperties": false,
|
|
42165
|
-
"required": [
|
|
42166
|
-
"success",
|
|
42167
|
-
"section"
|
|
42168
|
-
]
|
|
42169
|
-
},
|
|
42170
|
-
"failureSchema": {
|
|
42171
|
-
"type": "object",
|
|
42172
|
-
"properties": {
|
|
42173
|
-
"success": {
|
|
42174
|
-
"const": false
|
|
42175
|
-
},
|
|
42176
|
-
"failure": {
|
|
42177
|
-
"type": "object",
|
|
42178
|
-
"properties": {
|
|
42179
|
-
"code": {
|
|
42180
|
-
"enum": [
|
|
42181
|
-
"NO_OP",
|
|
42182
|
-
"INVALID_TARGET",
|
|
42183
|
-
"CAPABILITY_UNAVAILABLE"
|
|
42184
|
-
]
|
|
43220
|
+
"const": "upperLetter"
|
|
42185
43221
|
},
|
|
42186
|
-
|
|
42187
|
-
"
|
|
43222
|
+
{
|
|
43223
|
+
"const": "lowerRoman"
|
|
42188
43224
|
},
|
|
42189
|
-
|
|
42190
|
-
|
|
42191
|
-
"additionalProperties": false,
|
|
42192
|
-
"required": [
|
|
42193
|
-
"code",
|
|
42194
|
-
"message"
|
|
42195
|
-
]
|
|
42196
|
-
}
|
|
42197
|
-
},
|
|
42198
|
-
"additionalProperties": false,
|
|
42199
|
-
"required": [
|
|
42200
|
-
"success",
|
|
42201
|
-
"failure"
|
|
42202
|
-
]
|
|
42203
|
-
}
|
|
42204
|
-
},
|
|
42205
|
-
"doc.sections.setPageNumbering": {
|
|
42206
|
-
"operationId": "doc.sections.setPageNumbering",
|
|
42207
|
-
"sdkSurface": "document",
|
|
42208
|
-
"command": "sections set-page-numbering",
|
|
42209
|
-
"commandTokens": [
|
|
42210
|
-
"sections",
|
|
42211
|
-
"set-page-numbering"
|
|
42212
|
-
],
|
|
42213
|
-
"category": "sections",
|
|
42214
|
-
"description": "Set page numbering format/start for a section.",
|
|
42215
|
-
"requiresDocumentContext": true,
|
|
42216
|
-
"docRequirement": "optional",
|
|
42217
|
-
"responseEnvelopeKey": "result",
|
|
42218
|
-
"params": [
|
|
42219
|
-
{
|
|
42220
|
-
"name": "doc",
|
|
42221
|
-
"kind": "doc",
|
|
42222
|
-
"type": "string",
|
|
42223
|
-
"description": "Document path. Optional when a session is already open."
|
|
42224
|
-
},
|
|
42225
|
-
{
|
|
42226
|
-
"name": "sessionId",
|
|
42227
|
-
"kind": "flag",
|
|
42228
|
-
"type": "string",
|
|
42229
|
-
"flag": "session",
|
|
42230
|
-
"description": "Session ID for multi-session workflows. Optional when only one session is open."
|
|
42231
|
-
},
|
|
42232
|
-
{
|
|
42233
|
-
"name": "out",
|
|
42234
|
-
"kind": "flag",
|
|
42235
|
-
"type": "string",
|
|
42236
|
-
"agentVisible": false
|
|
42237
|
-
},
|
|
42238
|
-
{
|
|
42239
|
-
"name": "force",
|
|
42240
|
-
"kind": "flag",
|
|
42241
|
-
"type": "boolean",
|
|
42242
|
-
"description": "Bypass confirmation checks."
|
|
42243
|
-
},
|
|
42244
|
-
{
|
|
42245
|
-
"name": "expectedRevision",
|
|
42246
|
-
"kind": "flag",
|
|
42247
|
-
"type": "number",
|
|
42248
|
-
"flag": "expected-revision",
|
|
42249
|
-
"agentVisible": false
|
|
42250
|
-
},
|
|
42251
|
-
{
|
|
42252
|
-
"name": "changeMode",
|
|
42253
|
-
"kind": "flag",
|
|
42254
|
-
"type": "string",
|
|
42255
|
-
"flag": "change-mode",
|
|
42256
|
-
"schema": {
|
|
42257
|
-
"type": "string",
|
|
42258
|
-
"enum": [
|
|
42259
|
-
"direct",
|
|
42260
|
-
"tracked"
|
|
42261
|
-
]
|
|
42262
|
-
},
|
|
42263
|
-
"description": "Edit mode: \"direct\" applies changes immediately, \"tracked\" records as suggestions."
|
|
42264
|
-
},
|
|
42265
|
-
{
|
|
42266
|
-
"name": "dryRun",
|
|
42267
|
-
"kind": "flag",
|
|
42268
|
-
"type": "boolean",
|
|
42269
|
-
"flag": "dry-run",
|
|
42270
|
-
"description": "Preview the result without applying changes."
|
|
42271
|
-
},
|
|
42272
|
-
{
|
|
42273
|
-
"name": "target",
|
|
42274
|
-
"kind": "jsonFlag",
|
|
42275
|
-
"type": "json",
|
|
42276
|
-
"flag": "target-json",
|
|
42277
|
-
"required": true,
|
|
42278
|
-
"schema": {
|
|
42279
|
-
"type": "object",
|
|
42280
|
-
"properties": {
|
|
42281
|
-
"kind": {
|
|
42282
|
-
"const": "section"
|
|
43225
|
+
{
|
|
43226
|
+
"const": "upperRoman"
|
|
42283
43227
|
},
|
|
42284
|
-
|
|
42285
|
-
"
|
|
43228
|
+
{
|
|
43229
|
+
"const": "numberInDash"
|
|
42286
43230
|
}
|
|
42287
|
-
},
|
|
42288
|
-
"required": [
|
|
42289
|
-
"kind",
|
|
42290
|
-
"sectionId"
|
|
42291
43231
|
]
|
|
42292
43232
|
}
|
|
42293
43233
|
},
|
|
42294
43234
|
{
|
|
42295
|
-
"name": "
|
|
43235
|
+
"name": "chapterStyle",
|
|
42296
43236
|
"kind": "flag",
|
|
42297
|
-
"type": "number"
|
|
43237
|
+
"type": "number",
|
|
43238
|
+
"flag": "chapter-style"
|
|
42298
43239
|
},
|
|
42299
43240
|
{
|
|
42300
|
-
"name": "
|
|
43241
|
+
"name": "chapterSeparator",
|
|
42301
43242
|
"kind": "flag",
|
|
42302
43243
|
"type": "string",
|
|
43244
|
+
"flag": "chapter-separator",
|
|
42303
43245
|
"schema": {
|
|
42304
43246
|
"oneOf": [
|
|
42305
43247
|
{
|
|
42306
|
-
"const": "
|
|
42307
|
-
},
|
|
42308
|
-
{
|
|
42309
|
-
"const": "lowerLetter"
|
|
43248
|
+
"const": "hyphen"
|
|
42310
43249
|
},
|
|
42311
43250
|
{
|
|
42312
|
-
"const": "
|
|
43251
|
+
"const": "period"
|
|
42313
43252
|
},
|
|
42314
43253
|
{
|
|
42315
|
-
"const": "
|
|
43254
|
+
"const": "colon"
|
|
42316
43255
|
},
|
|
42317
43256
|
{
|
|
42318
|
-
"const": "
|
|
43257
|
+
"const": "emDash"
|
|
42319
43258
|
},
|
|
42320
43259
|
{
|
|
42321
|
-
"const": "
|
|
43260
|
+
"const": "enDash"
|
|
42322
43261
|
}
|
|
42323
43262
|
]
|
|
42324
43263
|
}
|
|
@@ -42348,13 +43287,27 @@ export const CONTRACT = {
|
|
|
42348
43287
|
"upperRoman",
|
|
42349
43288
|
"numberInDash"
|
|
42350
43289
|
]
|
|
43290
|
+
},
|
|
43291
|
+
"chapterStyle": {
|
|
43292
|
+
"type": "integer",
|
|
43293
|
+
"minimum": 1
|
|
43294
|
+
},
|
|
43295
|
+
"chapterSeparator": {
|
|
43296
|
+
"type": "string",
|
|
43297
|
+
"enum": [
|
|
43298
|
+
"hyphen",
|
|
43299
|
+
"period",
|
|
43300
|
+
"colon",
|
|
43301
|
+
"emDash",
|
|
43302
|
+
"enDash"
|
|
43303
|
+
]
|
|
42351
43304
|
}
|
|
42352
43305
|
},
|
|
42353
43306
|
"additionalProperties": false,
|
|
42354
43307
|
"required": [
|
|
42355
43308
|
"target"
|
|
42356
43309
|
],
|
|
42357
|
-
"
|
|
43310
|
+
"anyOf": [
|
|
42358
43311
|
{
|
|
42359
43312
|
"required": [
|
|
42360
43313
|
"target",
|
|
@@ -42366,6 +43319,18 @@ export const CONTRACT = {
|
|
|
42366
43319
|
"target",
|
|
42367
43320
|
"format"
|
|
42368
43321
|
]
|
|
43322
|
+
},
|
|
43323
|
+
{
|
|
43324
|
+
"required": [
|
|
43325
|
+
"target",
|
|
43326
|
+
"chapterStyle"
|
|
43327
|
+
]
|
|
43328
|
+
},
|
|
43329
|
+
{
|
|
43330
|
+
"required": [
|
|
43331
|
+
"target",
|
|
43332
|
+
"chapterSeparator"
|
|
43333
|
+
]
|
|
42369
43334
|
}
|
|
42370
43335
|
]
|
|
42371
43336
|
},
|
|
@@ -67364,6 +68329,11 @@ export const CONTRACT = {
|
|
|
67364
68329
|
}
|
|
67365
68330
|
],
|
|
67366
68331
|
"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."
|
|
68332
|
+
},
|
|
68333
|
+
"range": {
|
|
68334
|
+
"type": "object",
|
|
68335
|
+
"properties": {},
|
|
68336
|
+
"description": "Partial-range qualifier on an id target. Rejected with INVALID_INPUT for indivisible (e.g. structural) revisions."
|
|
67367
68337
|
}
|
|
67368
68338
|
},
|
|
67369
68339
|
"required": [
|
|
@@ -67947,6 +68917,10 @@ export const CONTRACT = {
|
|
|
67947
68917
|
},
|
|
67948
68918
|
"story": {
|
|
67949
68919
|
"$ref": "#/$defs/StoryLocator"
|
|
68920
|
+
},
|
|
68921
|
+
"range": {
|
|
68922
|
+
"type": "object",
|
|
68923
|
+
"description": "Partial-range qualifier on an id target. Rejected with INVALID_INPUT for indivisible (e.g. structural) revisions."
|
|
67950
68924
|
}
|
|
67951
68925
|
},
|
|
67952
68926
|
"additionalProperties": false,
|
|
@@ -68028,6 +69002,7 @@ export const CONTRACT = {
|
|
|
68028
69002
|
"code": {
|
|
68029
69003
|
"enum": [
|
|
68030
69004
|
"NO_OP",
|
|
69005
|
+
"INVALID_INPUT",
|
|
68031
69006
|
"INVALID_TARGET",
|
|
68032
69007
|
"TARGET_NOT_FOUND",
|
|
68033
69008
|
"CAPABILITY_UNAVAILABLE",
|
|
@@ -68071,6 +69046,7 @@ export const CONTRACT = {
|
|
|
68071
69046
|
"code": {
|
|
68072
69047
|
"enum": [
|
|
68073
69048
|
"NO_OP",
|
|
69049
|
+
"INVALID_INPUT",
|
|
68074
69050
|
"INVALID_TARGET",
|
|
68075
69051
|
"TARGET_NOT_FOUND",
|
|
68076
69052
|
"CAPABILITY_UNAVAILABLE",
|
|
@@ -84937,6 +85913,41 @@ export const CONTRACT = {
|
|
|
84937
85913
|
"dryRun"
|
|
84938
85914
|
]
|
|
84939
85915
|
},
|
|
85916
|
+
"templates.apply": {
|
|
85917
|
+
"type": "object",
|
|
85918
|
+
"properties": {
|
|
85919
|
+
"available": {
|
|
85920
|
+
"type": "boolean"
|
|
85921
|
+
},
|
|
85922
|
+
"tracked": {
|
|
85923
|
+
"type": "boolean"
|
|
85924
|
+
},
|
|
85925
|
+
"dryRun": {
|
|
85926
|
+
"type": "boolean"
|
|
85927
|
+
},
|
|
85928
|
+
"reasons": {
|
|
85929
|
+
"type": "array",
|
|
85930
|
+
"items": {
|
|
85931
|
+
"enum": [
|
|
85932
|
+
"COMMAND_UNAVAILABLE",
|
|
85933
|
+
"HELPER_UNAVAILABLE",
|
|
85934
|
+
"OPERATION_UNAVAILABLE",
|
|
85935
|
+
"TRACKED_MODE_UNAVAILABLE",
|
|
85936
|
+
"DRY_RUN_UNAVAILABLE",
|
|
85937
|
+
"NAMESPACE_UNAVAILABLE",
|
|
85938
|
+
"STYLES_PART_MISSING",
|
|
85939
|
+
"COLLABORATION_ACTIVE"
|
|
85940
|
+
]
|
|
85941
|
+
}
|
|
85942
|
+
}
|
|
85943
|
+
},
|
|
85944
|
+
"additionalProperties": false,
|
|
85945
|
+
"required": [
|
|
85946
|
+
"available",
|
|
85947
|
+
"tracked",
|
|
85948
|
+
"dryRun"
|
|
85949
|
+
]
|
|
85950
|
+
},
|
|
84940
85951
|
"create.paragraph": {
|
|
84941
85952
|
"type": "object",
|
|
84942
85953
|
"properties": {
|
|
@@ -96938,6 +97949,7 @@ export const CONTRACT = {
|
|
|
96938
97949
|
"format.stylisticSets",
|
|
96939
97950
|
"format.contextualAlternates",
|
|
96940
97951
|
"styles.apply",
|
|
97952
|
+
"templates.apply",
|
|
96941
97953
|
"create.paragraph",
|
|
96942
97954
|
"create.heading",
|
|
96943
97955
|
"create.sectionBreak",
|