@superdoc-dev/sdk 1.15.0-next.20 → 1.15.0-next.22
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 +104 -0
- package/dist/generated/client.d.ts.map +1 -1
- package/dist/generated/client.js +6 -0
- package/dist/generated/contract.cjs +916 -0
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +916 -0
- 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/tools-policy.json +1 -1
|
@@ -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",
|
|
@@ -85022,6 +85902,41 @@ export const CONTRACT = {
|
|
|
85022
85902
|
"dryRun"
|
|
85023
85903
|
]
|
|
85024
85904
|
},
|
|
85905
|
+
"templates.apply": {
|
|
85906
|
+
"type": "object",
|
|
85907
|
+
"properties": {
|
|
85908
|
+
"available": {
|
|
85909
|
+
"type": "boolean"
|
|
85910
|
+
},
|
|
85911
|
+
"tracked": {
|
|
85912
|
+
"type": "boolean"
|
|
85913
|
+
},
|
|
85914
|
+
"dryRun": {
|
|
85915
|
+
"type": "boolean"
|
|
85916
|
+
},
|
|
85917
|
+
"reasons": {
|
|
85918
|
+
"type": "array",
|
|
85919
|
+
"items": {
|
|
85920
|
+
"enum": [
|
|
85921
|
+
"COMMAND_UNAVAILABLE",
|
|
85922
|
+
"HELPER_UNAVAILABLE",
|
|
85923
|
+
"OPERATION_UNAVAILABLE",
|
|
85924
|
+
"TRACKED_MODE_UNAVAILABLE",
|
|
85925
|
+
"DRY_RUN_UNAVAILABLE",
|
|
85926
|
+
"NAMESPACE_UNAVAILABLE",
|
|
85927
|
+
"STYLES_PART_MISSING",
|
|
85928
|
+
"COLLABORATION_ACTIVE"
|
|
85929
|
+
]
|
|
85930
|
+
}
|
|
85931
|
+
}
|
|
85932
|
+
},
|
|
85933
|
+
"additionalProperties": false,
|
|
85934
|
+
"required": [
|
|
85935
|
+
"available",
|
|
85936
|
+
"tracked",
|
|
85937
|
+
"dryRun"
|
|
85938
|
+
]
|
|
85939
|
+
},
|
|
85025
85940
|
"create.paragraph": {
|
|
85026
85941
|
"type": "object",
|
|
85027
85942
|
"properties": {
|
|
@@ -97023,6 +97938,7 @@ export const CONTRACT = {
|
|
|
97023
97938
|
"format.stylisticSets",
|
|
97024
97939
|
"format.contextualAlternates",
|
|
97025
97940
|
"styles.apply",
|
|
97941
|
+
"templates.apply",
|
|
97026
97942
|
"create.paragraph",
|
|
97027
97943
|
"create.heading",
|
|
97028
97944
|
"create.sectionBreak",
|