@superdoc-dev/sdk 1.15.0-next.20 → 1.15.0-next.21
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
|
@@ -36426,6 +36426,886 @@ const CONTRACT = {
|
|
|
36426
36426
|
]
|
|
36427
36427
|
}
|
|
36428
36428
|
},
|
|
36429
|
+
"doc.templates.apply": {
|
|
36430
|
+
"operationId": "doc.templates.apply",
|
|
36431
|
+
"sdkSurface": "document",
|
|
36432
|
+
"command": "templates apply",
|
|
36433
|
+
"commandTokens": [
|
|
36434
|
+
"templates",
|
|
36435
|
+
"apply"
|
|
36436
|
+
],
|
|
36437
|
+
"category": "core",
|
|
36438
|
+
"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.",
|
|
36439
|
+
"requiresDocumentContext": true,
|
|
36440
|
+
"docRequirement": "optional",
|
|
36441
|
+
"responseEnvelopeKey": "receipt",
|
|
36442
|
+
"params": [
|
|
36443
|
+
{
|
|
36444
|
+
"name": "doc",
|
|
36445
|
+
"kind": "doc",
|
|
36446
|
+
"type": "string",
|
|
36447
|
+
"description": "Document path. Optional when a session is already open."
|
|
36448
|
+
},
|
|
36449
|
+
{
|
|
36450
|
+
"name": "sessionId",
|
|
36451
|
+
"kind": "flag",
|
|
36452
|
+
"type": "string",
|
|
36453
|
+
"flag": "session",
|
|
36454
|
+
"description": "Session ID for multi-session workflows. Optional when only one session is open."
|
|
36455
|
+
},
|
|
36456
|
+
{
|
|
36457
|
+
"name": "out",
|
|
36458
|
+
"kind": "flag",
|
|
36459
|
+
"type": "string",
|
|
36460
|
+
"agentVisible": false
|
|
36461
|
+
},
|
|
36462
|
+
{
|
|
36463
|
+
"name": "force",
|
|
36464
|
+
"kind": "flag",
|
|
36465
|
+
"type": "boolean",
|
|
36466
|
+
"description": "Bypass confirmation checks."
|
|
36467
|
+
},
|
|
36468
|
+
{
|
|
36469
|
+
"name": "expectedRevision",
|
|
36470
|
+
"kind": "flag",
|
|
36471
|
+
"type": "number",
|
|
36472
|
+
"flag": "expected-revision",
|
|
36473
|
+
"agentVisible": false
|
|
36474
|
+
},
|
|
36475
|
+
{
|
|
36476
|
+
"name": "changeMode",
|
|
36477
|
+
"kind": "flag",
|
|
36478
|
+
"type": "string",
|
|
36479
|
+
"flag": "change-mode",
|
|
36480
|
+
"schema": {
|
|
36481
|
+
"type": "string",
|
|
36482
|
+
"enum": [
|
|
36483
|
+
"direct",
|
|
36484
|
+
"tracked"
|
|
36485
|
+
]
|
|
36486
|
+
},
|
|
36487
|
+
"description": "Edit mode: \"direct\" applies changes immediately, \"tracked\" records as suggestions."
|
|
36488
|
+
},
|
|
36489
|
+
{
|
|
36490
|
+
"name": "dryRun",
|
|
36491
|
+
"kind": "flag",
|
|
36492
|
+
"type": "boolean",
|
|
36493
|
+
"flag": "dry-run",
|
|
36494
|
+
"description": "Preview the result without applying changes."
|
|
36495
|
+
},
|
|
36496
|
+
{
|
|
36497
|
+
"name": "source",
|
|
36498
|
+
"kind": "jsonFlag",
|
|
36499
|
+
"type": "json",
|
|
36500
|
+
"flag": "source-json",
|
|
36501
|
+
"required": true,
|
|
36502
|
+
"schema": {
|
|
36503
|
+
"oneOf": [
|
|
36504
|
+
{
|
|
36505
|
+
"type": "object",
|
|
36506
|
+
"properties": {
|
|
36507
|
+
"kind": {
|
|
36508
|
+
"const": "path"
|
|
36509
|
+
},
|
|
36510
|
+
"path": {
|
|
36511
|
+
"type": "string"
|
|
36512
|
+
}
|
|
36513
|
+
},
|
|
36514
|
+
"required": [
|
|
36515
|
+
"kind",
|
|
36516
|
+
"path"
|
|
36517
|
+
]
|
|
36518
|
+
},
|
|
36519
|
+
{
|
|
36520
|
+
"type": "object",
|
|
36521
|
+
"properties": {
|
|
36522
|
+
"kind": {
|
|
36523
|
+
"const": "base64"
|
|
36524
|
+
},
|
|
36525
|
+
"data": {
|
|
36526
|
+
"type": "string"
|
|
36527
|
+
},
|
|
36528
|
+
"filename": {
|
|
36529
|
+
"type": "string"
|
|
36530
|
+
}
|
|
36531
|
+
},
|
|
36532
|
+
"required": [
|
|
36533
|
+
"kind",
|
|
36534
|
+
"data"
|
|
36535
|
+
]
|
|
36536
|
+
}
|
|
36537
|
+
]
|
|
36538
|
+
}
|
|
36539
|
+
},
|
|
36540
|
+
{
|
|
36541
|
+
"name": "bodyPolicy",
|
|
36542
|
+
"kind": "jsonFlag",
|
|
36543
|
+
"type": "json",
|
|
36544
|
+
"flag": "body-policy-json",
|
|
36545
|
+
"schema": {
|
|
36546
|
+
"const": "preserve"
|
|
36547
|
+
}
|
|
36548
|
+
}
|
|
36549
|
+
],
|
|
36550
|
+
"constraints": null,
|
|
36551
|
+
"mutates": true,
|
|
36552
|
+
"idempotency": "conditional",
|
|
36553
|
+
"supportsTrackedMode": false,
|
|
36554
|
+
"supportsDryRun": true,
|
|
36555
|
+
"inputSchema": {
|
|
36556
|
+
"type": "object",
|
|
36557
|
+
"properties": {
|
|
36558
|
+
"source": {
|
|
36559
|
+
"oneOf": [
|
|
36560
|
+
{
|
|
36561
|
+
"type": "object",
|
|
36562
|
+
"properties": {
|
|
36563
|
+
"kind": {
|
|
36564
|
+
"const": "path"
|
|
36565
|
+
},
|
|
36566
|
+
"path": {
|
|
36567
|
+
"type": "string"
|
|
36568
|
+
}
|
|
36569
|
+
},
|
|
36570
|
+
"additionalProperties": false,
|
|
36571
|
+
"required": [
|
|
36572
|
+
"kind",
|
|
36573
|
+
"path"
|
|
36574
|
+
]
|
|
36575
|
+
},
|
|
36576
|
+
{
|
|
36577
|
+
"type": "object",
|
|
36578
|
+
"properties": {
|
|
36579
|
+
"kind": {
|
|
36580
|
+
"const": "base64"
|
|
36581
|
+
},
|
|
36582
|
+
"data": {
|
|
36583
|
+
"type": "string"
|
|
36584
|
+
},
|
|
36585
|
+
"filename": {
|
|
36586
|
+
"type": "string"
|
|
36587
|
+
}
|
|
36588
|
+
},
|
|
36589
|
+
"additionalProperties": false,
|
|
36590
|
+
"required": [
|
|
36591
|
+
"kind",
|
|
36592
|
+
"data"
|
|
36593
|
+
]
|
|
36594
|
+
}
|
|
36595
|
+
]
|
|
36596
|
+
},
|
|
36597
|
+
"bodyPolicy": {
|
|
36598
|
+
"const": "preserve"
|
|
36599
|
+
}
|
|
36600
|
+
},
|
|
36601
|
+
"additionalProperties": false,
|
|
36602
|
+
"required": [
|
|
36603
|
+
"source"
|
|
36604
|
+
]
|
|
36605
|
+
},
|
|
36606
|
+
"outputSchema": {
|
|
36607
|
+
"oneOf": [
|
|
36608
|
+
{
|
|
36609
|
+
"type": "object",
|
|
36610
|
+
"properties": {
|
|
36611
|
+
"success": {
|
|
36612
|
+
"const": true
|
|
36613
|
+
},
|
|
36614
|
+
"changed": {
|
|
36615
|
+
"type": "boolean"
|
|
36616
|
+
},
|
|
36617
|
+
"dryRun": {
|
|
36618
|
+
"type": "boolean"
|
|
36619
|
+
},
|
|
36620
|
+
"bodyPolicy": {
|
|
36621
|
+
"const": "preserve"
|
|
36622
|
+
},
|
|
36623
|
+
"source": {
|
|
36624
|
+
"type": "object",
|
|
36625
|
+
"properties": {
|
|
36626
|
+
"kind": {
|
|
36627
|
+
"enum": [
|
|
36628
|
+
"path",
|
|
36629
|
+
"base64"
|
|
36630
|
+
]
|
|
36631
|
+
},
|
|
36632
|
+
"fingerprint": {
|
|
36633
|
+
"type": "string"
|
|
36634
|
+
},
|
|
36635
|
+
"partCount": {
|
|
36636
|
+
"type": "integer"
|
|
36637
|
+
}
|
|
36638
|
+
},
|
|
36639
|
+
"additionalProperties": false,
|
|
36640
|
+
"required": [
|
|
36641
|
+
"kind",
|
|
36642
|
+
"fingerprint",
|
|
36643
|
+
"partCount"
|
|
36644
|
+
]
|
|
36645
|
+
},
|
|
36646
|
+
"detectedScopes": {
|
|
36647
|
+
"type": "array",
|
|
36648
|
+
"items": {
|
|
36649
|
+
"type": "object",
|
|
36650
|
+
"properties": {
|
|
36651
|
+
"scope": {
|
|
36652
|
+
"enum": [
|
|
36653
|
+
"styles",
|
|
36654
|
+
"numbering",
|
|
36655
|
+
"settings",
|
|
36656
|
+
"theme",
|
|
36657
|
+
"fontTable",
|
|
36658
|
+
"webSettings",
|
|
36659
|
+
"headersFooters",
|
|
36660
|
+
"sectionDefaults"
|
|
36661
|
+
]
|
|
36662
|
+
},
|
|
36663
|
+
"part": {
|
|
36664
|
+
"type": "string"
|
|
36665
|
+
},
|
|
36666
|
+
"detail": {
|
|
36667
|
+
"type": "string"
|
|
36668
|
+
}
|
|
36669
|
+
},
|
|
36670
|
+
"additionalProperties": false,
|
|
36671
|
+
"required": [
|
|
36672
|
+
"scope",
|
|
36673
|
+
"part"
|
|
36674
|
+
]
|
|
36675
|
+
}
|
|
36676
|
+
},
|
|
36677
|
+
"appliedScopes": {
|
|
36678
|
+
"type": "array",
|
|
36679
|
+
"items": {
|
|
36680
|
+
"type": "object",
|
|
36681
|
+
"properties": {
|
|
36682
|
+
"scope": {
|
|
36683
|
+
"enum": [
|
|
36684
|
+
"styles",
|
|
36685
|
+
"numbering",
|
|
36686
|
+
"settings",
|
|
36687
|
+
"theme",
|
|
36688
|
+
"fontTable",
|
|
36689
|
+
"webSettings",
|
|
36690
|
+
"headersFooters",
|
|
36691
|
+
"sectionDefaults"
|
|
36692
|
+
]
|
|
36693
|
+
},
|
|
36694
|
+
"part": {
|
|
36695
|
+
"type": "string"
|
|
36696
|
+
},
|
|
36697
|
+
"detail": {
|
|
36698
|
+
"type": "string"
|
|
36699
|
+
}
|
|
36700
|
+
},
|
|
36701
|
+
"additionalProperties": false,
|
|
36702
|
+
"required": [
|
|
36703
|
+
"scope",
|
|
36704
|
+
"part"
|
|
36705
|
+
]
|
|
36706
|
+
}
|
|
36707
|
+
},
|
|
36708
|
+
"skippedScopes": {
|
|
36709
|
+
"type": "array",
|
|
36710
|
+
"items": {
|
|
36711
|
+
"type": "object",
|
|
36712
|
+
"properties": {
|
|
36713
|
+
"scope": {
|
|
36714
|
+
"type": "string"
|
|
36715
|
+
},
|
|
36716
|
+
"part": {
|
|
36717
|
+
"type": "string"
|
|
36718
|
+
},
|
|
36719
|
+
"reason": {
|
|
36720
|
+
"enum": [
|
|
36721
|
+
"NOT_PRESENT_IN_SOURCE",
|
|
36722
|
+
"OUT_OF_SCOPE",
|
|
36723
|
+
"NO_CHANGE",
|
|
36724
|
+
"CAPABILITY_UNAVAILABLE"
|
|
36725
|
+
]
|
|
36726
|
+
},
|
|
36727
|
+
"message": {
|
|
36728
|
+
"type": "string"
|
|
36729
|
+
}
|
|
36730
|
+
},
|
|
36731
|
+
"additionalProperties": false,
|
|
36732
|
+
"required": [
|
|
36733
|
+
"scope",
|
|
36734
|
+
"reason",
|
|
36735
|
+
"message"
|
|
36736
|
+
]
|
|
36737
|
+
}
|
|
36738
|
+
},
|
|
36739
|
+
"unsupportedItems": {
|
|
36740
|
+
"type": "array",
|
|
36741
|
+
"items": {
|
|
36742
|
+
"type": "object",
|
|
36743
|
+
"properties": {
|
|
36744
|
+
"part": {
|
|
36745
|
+
"type": "string"
|
|
36746
|
+
},
|
|
36747
|
+
"category": {
|
|
36748
|
+
"type": "string"
|
|
36749
|
+
},
|
|
36750
|
+
"reason": {
|
|
36751
|
+
"type": "string"
|
|
36752
|
+
}
|
|
36753
|
+
},
|
|
36754
|
+
"additionalProperties": false,
|
|
36755
|
+
"required": [
|
|
36756
|
+
"part",
|
|
36757
|
+
"category",
|
|
36758
|
+
"reason"
|
|
36759
|
+
]
|
|
36760
|
+
}
|
|
36761
|
+
},
|
|
36762
|
+
"changedParts": {
|
|
36763
|
+
"type": "array",
|
|
36764
|
+
"items": {
|
|
36765
|
+
"type": "object",
|
|
36766
|
+
"properties": {
|
|
36767
|
+
"part": {
|
|
36768
|
+
"type": "string"
|
|
36769
|
+
},
|
|
36770
|
+
"scope": {
|
|
36771
|
+
"enum": [
|
|
36772
|
+
"styles",
|
|
36773
|
+
"numbering",
|
|
36774
|
+
"settings",
|
|
36775
|
+
"theme",
|
|
36776
|
+
"fontTable",
|
|
36777
|
+
"webSettings",
|
|
36778
|
+
"headersFooters",
|
|
36779
|
+
"sectionDefaults",
|
|
36780
|
+
"package"
|
|
36781
|
+
]
|
|
36782
|
+
},
|
|
36783
|
+
"change": {
|
|
36784
|
+
"enum": [
|
|
36785
|
+
"created",
|
|
36786
|
+
"replaced",
|
|
36787
|
+
"merged",
|
|
36788
|
+
"imported"
|
|
36789
|
+
]
|
|
36790
|
+
}
|
|
36791
|
+
},
|
|
36792
|
+
"additionalProperties": false,
|
|
36793
|
+
"required": [
|
|
36794
|
+
"part",
|
|
36795
|
+
"scope",
|
|
36796
|
+
"change"
|
|
36797
|
+
]
|
|
36798
|
+
}
|
|
36799
|
+
},
|
|
36800
|
+
"idMappings": {
|
|
36801
|
+
"type": "object",
|
|
36802
|
+
"properties": {
|
|
36803
|
+
"styles": {
|
|
36804
|
+
"type": "array",
|
|
36805
|
+
"items": {
|
|
36806
|
+
"type": "object",
|
|
36807
|
+
"properties": {
|
|
36808
|
+
"kind": {
|
|
36809
|
+
"enum": [
|
|
36810
|
+
"style",
|
|
36811
|
+
"numbering",
|
|
36812
|
+
"relationship"
|
|
36813
|
+
]
|
|
36814
|
+
},
|
|
36815
|
+
"from": {
|
|
36816
|
+
"type": "string"
|
|
36817
|
+
},
|
|
36818
|
+
"to": {
|
|
36819
|
+
"type": "string"
|
|
36820
|
+
}
|
|
36821
|
+
},
|
|
36822
|
+
"additionalProperties": false,
|
|
36823
|
+
"required": [
|
|
36824
|
+
"kind",
|
|
36825
|
+
"from",
|
|
36826
|
+
"to"
|
|
36827
|
+
]
|
|
36828
|
+
}
|
|
36829
|
+
},
|
|
36830
|
+
"numbering": {
|
|
36831
|
+
"type": "array",
|
|
36832
|
+
"items": {
|
|
36833
|
+
"type": "object",
|
|
36834
|
+
"properties": {
|
|
36835
|
+
"kind": {
|
|
36836
|
+
"enum": [
|
|
36837
|
+
"style",
|
|
36838
|
+
"numbering",
|
|
36839
|
+
"relationship"
|
|
36840
|
+
]
|
|
36841
|
+
},
|
|
36842
|
+
"from": {
|
|
36843
|
+
"type": "string"
|
|
36844
|
+
},
|
|
36845
|
+
"to": {
|
|
36846
|
+
"type": "string"
|
|
36847
|
+
}
|
|
36848
|
+
},
|
|
36849
|
+
"additionalProperties": false,
|
|
36850
|
+
"required": [
|
|
36851
|
+
"kind",
|
|
36852
|
+
"from",
|
|
36853
|
+
"to"
|
|
36854
|
+
]
|
|
36855
|
+
}
|
|
36856
|
+
},
|
|
36857
|
+
"relationships": {
|
|
36858
|
+
"type": "array",
|
|
36859
|
+
"items": {
|
|
36860
|
+
"type": "object",
|
|
36861
|
+
"properties": {
|
|
36862
|
+
"kind": {
|
|
36863
|
+
"enum": [
|
|
36864
|
+
"style",
|
|
36865
|
+
"numbering",
|
|
36866
|
+
"relationship"
|
|
36867
|
+
]
|
|
36868
|
+
},
|
|
36869
|
+
"from": {
|
|
36870
|
+
"type": "string"
|
|
36871
|
+
},
|
|
36872
|
+
"to": {
|
|
36873
|
+
"type": "string"
|
|
36874
|
+
}
|
|
36875
|
+
},
|
|
36876
|
+
"additionalProperties": false,
|
|
36877
|
+
"required": [
|
|
36878
|
+
"kind",
|
|
36879
|
+
"from",
|
|
36880
|
+
"to"
|
|
36881
|
+
]
|
|
36882
|
+
}
|
|
36883
|
+
}
|
|
36884
|
+
},
|
|
36885
|
+
"additionalProperties": false
|
|
36886
|
+
},
|
|
36887
|
+
"warnings": {
|
|
36888
|
+
"type": "array",
|
|
36889
|
+
"items": {
|
|
36890
|
+
"type": "object",
|
|
36891
|
+
"properties": {
|
|
36892
|
+
"code": {
|
|
36893
|
+
"type": "string"
|
|
36894
|
+
},
|
|
36895
|
+
"message": {
|
|
36896
|
+
"type": "string"
|
|
36897
|
+
}
|
|
36898
|
+
},
|
|
36899
|
+
"additionalProperties": false,
|
|
36900
|
+
"required": [
|
|
36901
|
+
"code",
|
|
36902
|
+
"message"
|
|
36903
|
+
]
|
|
36904
|
+
}
|
|
36905
|
+
}
|
|
36906
|
+
},
|
|
36907
|
+
"additionalProperties": false,
|
|
36908
|
+
"required": [
|
|
36909
|
+
"success",
|
|
36910
|
+
"changed",
|
|
36911
|
+
"dryRun",
|
|
36912
|
+
"bodyPolicy",
|
|
36913
|
+
"source",
|
|
36914
|
+
"detectedScopes",
|
|
36915
|
+
"appliedScopes",
|
|
36916
|
+
"skippedScopes",
|
|
36917
|
+
"unsupportedItems",
|
|
36918
|
+
"changedParts",
|
|
36919
|
+
"idMappings",
|
|
36920
|
+
"warnings"
|
|
36921
|
+
]
|
|
36922
|
+
},
|
|
36923
|
+
{
|
|
36924
|
+
"type": "object",
|
|
36925
|
+
"properties": {
|
|
36926
|
+
"success": {
|
|
36927
|
+
"const": false
|
|
36928
|
+
},
|
|
36929
|
+
"failure": {
|
|
36930
|
+
"type": "object",
|
|
36931
|
+
"properties": {
|
|
36932
|
+
"code": {
|
|
36933
|
+
"enum": [
|
|
36934
|
+
"UNSUPPORTED_SOURCE",
|
|
36935
|
+
"INVALID_PACKAGE",
|
|
36936
|
+
"CAPABILITY_UNAVAILABLE",
|
|
36937
|
+
"UNSUPPORTED_TEMPLATE_CONTENT"
|
|
36938
|
+
]
|
|
36939
|
+
},
|
|
36940
|
+
"message": {
|
|
36941
|
+
"type": "string"
|
|
36942
|
+
}
|
|
36943
|
+
},
|
|
36944
|
+
"additionalProperties": false,
|
|
36945
|
+
"required": [
|
|
36946
|
+
"code",
|
|
36947
|
+
"message"
|
|
36948
|
+
]
|
|
36949
|
+
}
|
|
36950
|
+
},
|
|
36951
|
+
"additionalProperties": false,
|
|
36952
|
+
"required": [
|
|
36953
|
+
"success",
|
|
36954
|
+
"failure"
|
|
36955
|
+
]
|
|
36956
|
+
}
|
|
36957
|
+
]
|
|
36958
|
+
},
|
|
36959
|
+
"successSchema": {
|
|
36960
|
+
"type": "object",
|
|
36961
|
+
"properties": {
|
|
36962
|
+
"success": {
|
|
36963
|
+
"const": true
|
|
36964
|
+
},
|
|
36965
|
+
"changed": {
|
|
36966
|
+
"type": "boolean"
|
|
36967
|
+
},
|
|
36968
|
+
"dryRun": {
|
|
36969
|
+
"type": "boolean"
|
|
36970
|
+
},
|
|
36971
|
+
"bodyPolicy": {
|
|
36972
|
+
"const": "preserve"
|
|
36973
|
+
},
|
|
36974
|
+
"source": {
|
|
36975
|
+
"type": "object",
|
|
36976
|
+
"properties": {
|
|
36977
|
+
"kind": {
|
|
36978
|
+
"enum": [
|
|
36979
|
+
"path",
|
|
36980
|
+
"base64"
|
|
36981
|
+
]
|
|
36982
|
+
},
|
|
36983
|
+
"fingerprint": {
|
|
36984
|
+
"type": "string"
|
|
36985
|
+
},
|
|
36986
|
+
"partCount": {
|
|
36987
|
+
"type": "integer"
|
|
36988
|
+
}
|
|
36989
|
+
},
|
|
36990
|
+
"additionalProperties": false,
|
|
36991
|
+
"required": [
|
|
36992
|
+
"kind",
|
|
36993
|
+
"fingerprint",
|
|
36994
|
+
"partCount"
|
|
36995
|
+
]
|
|
36996
|
+
},
|
|
36997
|
+
"detectedScopes": {
|
|
36998
|
+
"type": "array",
|
|
36999
|
+
"items": {
|
|
37000
|
+
"type": "object",
|
|
37001
|
+
"properties": {
|
|
37002
|
+
"scope": {
|
|
37003
|
+
"enum": [
|
|
37004
|
+
"styles",
|
|
37005
|
+
"numbering",
|
|
37006
|
+
"settings",
|
|
37007
|
+
"theme",
|
|
37008
|
+
"fontTable",
|
|
37009
|
+
"webSettings",
|
|
37010
|
+
"headersFooters",
|
|
37011
|
+
"sectionDefaults"
|
|
37012
|
+
]
|
|
37013
|
+
},
|
|
37014
|
+
"part": {
|
|
37015
|
+
"type": "string"
|
|
37016
|
+
},
|
|
37017
|
+
"detail": {
|
|
37018
|
+
"type": "string"
|
|
37019
|
+
}
|
|
37020
|
+
},
|
|
37021
|
+
"additionalProperties": false,
|
|
37022
|
+
"required": [
|
|
37023
|
+
"scope",
|
|
37024
|
+
"part"
|
|
37025
|
+
]
|
|
37026
|
+
}
|
|
37027
|
+
},
|
|
37028
|
+
"appliedScopes": {
|
|
37029
|
+
"type": "array",
|
|
37030
|
+
"items": {
|
|
37031
|
+
"type": "object",
|
|
37032
|
+
"properties": {
|
|
37033
|
+
"scope": {
|
|
37034
|
+
"enum": [
|
|
37035
|
+
"styles",
|
|
37036
|
+
"numbering",
|
|
37037
|
+
"settings",
|
|
37038
|
+
"theme",
|
|
37039
|
+
"fontTable",
|
|
37040
|
+
"webSettings",
|
|
37041
|
+
"headersFooters",
|
|
37042
|
+
"sectionDefaults"
|
|
37043
|
+
]
|
|
37044
|
+
},
|
|
37045
|
+
"part": {
|
|
37046
|
+
"type": "string"
|
|
37047
|
+
},
|
|
37048
|
+
"detail": {
|
|
37049
|
+
"type": "string"
|
|
37050
|
+
}
|
|
37051
|
+
},
|
|
37052
|
+
"additionalProperties": false,
|
|
37053
|
+
"required": [
|
|
37054
|
+
"scope",
|
|
37055
|
+
"part"
|
|
37056
|
+
]
|
|
37057
|
+
}
|
|
37058
|
+
},
|
|
37059
|
+
"skippedScopes": {
|
|
37060
|
+
"type": "array",
|
|
37061
|
+
"items": {
|
|
37062
|
+
"type": "object",
|
|
37063
|
+
"properties": {
|
|
37064
|
+
"scope": {
|
|
37065
|
+
"type": "string"
|
|
37066
|
+
},
|
|
37067
|
+
"part": {
|
|
37068
|
+
"type": "string"
|
|
37069
|
+
},
|
|
37070
|
+
"reason": {
|
|
37071
|
+
"enum": [
|
|
37072
|
+
"NOT_PRESENT_IN_SOURCE",
|
|
37073
|
+
"OUT_OF_SCOPE",
|
|
37074
|
+
"NO_CHANGE",
|
|
37075
|
+
"CAPABILITY_UNAVAILABLE"
|
|
37076
|
+
]
|
|
37077
|
+
},
|
|
37078
|
+
"message": {
|
|
37079
|
+
"type": "string"
|
|
37080
|
+
}
|
|
37081
|
+
},
|
|
37082
|
+
"additionalProperties": false,
|
|
37083
|
+
"required": [
|
|
37084
|
+
"scope",
|
|
37085
|
+
"reason",
|
|
37086
|
+
"message"
|
|
37087
|
+
]
|
|
37088
|
+
}
|
|
37089
|
+
},
|
|
37090
|
+
"unsupportedItems": {
|
|
37091
|
+
"type": "array",
|
|
37092
|
+
"items": {
|
|
37093
|
+
"type": "object",
|
|
37094
|
+
"properties": {
|
|
37095
|
+
"part": {
|
|
37096
|
+
"type": "string"
|
|
37097
|
+
},
|
|
37098
|
+
"category": {
|
|
37099
|
+
"type": "string"
|
|
37100
|
+
},
|
|
37101
|
+
"reason": {
|
|
37102
|
+
"type": "string"
|
|
37103
|
+
}
|
|
37104
|
+
},
|
|
37105
|
+
"additionalProperties": false,
|
|
37106
|
+
"required": [
|
|
37107
|
+
"part",
|
|
37108
|
+
"category",
|
|
37109
|
+
"reason"
|
|
37110
|
+
]
|
|
37111
|
+
}
|
|
37112
|
+
},
|
|
37113
|
+
"changedParts": {
|
|
37114
|
+
"type": "array",
|
|
37115
|
+
"items": {
|
|
37116
|
+
"type": "object",
|
|
37117
|
+
"properties": {
|
|
37118
|
+
"part": {
|
|
37119
|
+
"type": "string"
|
|
37120
|
+
},
|
|
37121
|
+
"scope": {
|
|
37122
|
+
"enum": [
|
|
37123
|
+
"styles",
|
|
37124
|
+
"numbering",
|
|
37125
|
+
"settings",
|
|
37126
|
+
"theme",
|
|
37127
|
+
"fontTable",
|
|
37128
|
+
"webSettings",
|
|
37129
|
+
"headersFooters",
|
|
37130
|
+
"sectionDefaults",
|
|
37131
|
+
"package"
|
|
37132
|
+
]
|
|
37133
|
+
},
|
|
37134
|
+
"change": {
|
|
37135
|
+
"enum": [
|
|
37136
|
+
"created",
|
|
37137
|
+
"replaced",
|
|
37138
|
+
"merged",
|
|
37139
|
+
"imported"
|
|
37140
|
+
]
|
|
37141
|
+
}
|
|
37142
|
+
},
|
|
37143
|
+
"additionalProperties": false,
|
|
37144
|
+
"required": [
|
|
37145
|
+
"part",
|
|
37146
|
+
"scope",
|
|
37147
|
+
"change"
|
|
37148
|
+
]
|
|
37149
|
+
}
|
|
37150
|
+
},
|
|
37151
|
+
"idMappings": {
|
|
37152
|
+
"type": "object",
|
|
37153
|
+
"properties": {
|
|
37154
|
+
"styles": {
|
|
37155
|
+
"type": "array",
|
|
37156
|
+
"items": {
|
|
37157
|
+
"type": "object",
|
|
37158
|
+
"properties": {
|
|
37159
|
+
"kind": {
|
|
37160
|
+
"enum": [
|
|
37161
|
+
"style",
|
|
37162
|
+
"numbering",
|
|
37163
|
+
"relationship"
|
|
37164
|
+
]
|
|
37165
|
+
},
|
|
37166
|
+
"from": {
|
|
37167
|
+
"type": "string"
|
|
37168
|
+
},
|
|
37169
|
+
"to": {
|
|
37170
|
+
"type": "string"
|
|
37171
|
+
}
|
|
37172
|
+
},
|
|
37173
|
+
"additionalProperties": false,
|
|
37174
|
+
"required": [
|
|
37175
|
+
"kind",
|
|
37176
|
+
"from",
|
|
37177
|
+
"to"
|
|
37178
|
+
]
|
|
37179
|
+
}
|
|
37180
|
+
},
|
|
37181
|
+
"numbering": {
|
|
37182
|
+
"type": "array",
|
|
37183
|
+
"items": {
|
|
37184
|
+
"type": "object",
|
|
37185
|
+
"properties": {
|
|
37186
|
+
"kind": {
|
|
37187
|
+
"enum": [
|
|
37188
|
+
"style",
|
|
37189
|
+
"numbering",
|
|
37190
|
+
"relationship"
|
|
37191
|
+
]
|
|
37192
|
+
},
|
|
37193
|
+
"from": {
|
|
37194
|
+
"type": "string"
|
|
37195
|
+
},
|
|
37196
|
+
"to": {
|
|
37197
|
+
"type": "string"
|
|
37198
|
+
}
|
|
37199
|
+
},
|
|
37200
|
+
"additionalProperties": false,
|
|
37201
|
+
"required": [
|
|
37202
|
+
"kind",
|
|
37203
|
+
"from",
|
|
37204
|
+
"to"
|
|
37205
|
+
]
|
|
37206
|
+
}
|
|
37207
|
+
},
|
|
37208
|
+
"relationships": {
|
|
37209
|
+
"type": "array",
|
|
37210
|
+
"items": {
|
|
37211
|
+
"type": "object",
|
|
37212
|
+
"properties": {
|
|
37213
|
+
"kind": {
|
|
37214
|
+
"enum": [
|
|
37215
|
+
"style",
|
|
37216
|
+
"numbering",
|
|
37217
|
+
"relationship"
|
|
37218
|
+
]
|
|
37219
|
+
},
|
|
37220
|
+
"from": {
|
|
37221
|
+
"type": "string"
|
|
37222
|
+
},
|
|
37223
|
+
"to": {
|
|
37224
|
+
"type": "string"
|
|
37225
|
+
}
|
|
37226
|
+
},
|
|
37227
|
+
"additionalProperties": false,
|
|
37228
|
+
"required": [
|
|
37229
|
+
"kind",
|
|
37230
|
+
"from",
|
|
37231
|
+
"to"
|
|
37232
|
+
]
|
|
37233
|
+
}
|
|
37234
|
+
}
|
|
37235
|
+
},
|
|
37236
|
+
"additionalProperties": false
|
|
37237
|
+
},
|
|
37238
|
+
"warnings": {
|
|
37239
|
+
"type": "array",
|
|
37240
|
+
"items": {
|
|
37241
|
+
"type": "object",
|
|
37242
|
+
"properties": {
|
|
37243
|
+
"code": {
|
|
37244
|
+
"type": "string"
|
|
37245
|
+
},
|
|
37246
|
+
"message": {
|
|
37247
|
+
"type": "string"
|
|
37248
|
+
}
|
|
37249
|
+
},
|
|
37250
|
+
"additionalProperties": false,
|
|
37251
|
+
"required": [
|
|
37252
|
+
"code",
|
|
37253
|
+
"message"
|
|
37254
|
+
]
|
|
37255
|
+
}
|
|
37256
|
+
}
|
|
37257
|
+
},
|
|
37258
|
+
"additionalProperties": false,
|
|
37259
|
+
"required": [
|
|
37260
|
+
"success",
|
|
37261
|
+
"changed",
|
|
37262
|
+
"dryRun",
|
|
37263
|
+
"bodyPolicy",
|
|
37264
|
+
"source",
|
|
37265
|
+
"detectedScopes",
|
|
37266
|
+
"appliedScopes",
|
|
37267
|
+
"skippedScopes",
|
|
37268
|
+
"unsupportedItems",
|
|
37269
|
+
"changedParts",
|
|
37270
|
+
"idMappings",
|
|
37271
|
+
"warnings"
|
|
37272
|
+
]
|
|
37273
|
+
},
|
|
37274
|
+
"failureSchema": {
|
|
37275
|
+
"type": "object",
|
|
37276
|
+
"properties": {
|
|
37277
|
+
"success": {
|
|
37278
|
+
"const": false
|
|
37279
|
+
},
|
|
37280
|
+
"failure": {
|
|
37281
|
+
"type": "object",
|
|
37282
|
+
"properties": {
|
|
37283
|
+
"code": {
|
|
37284
|
+
"enum": [
|
|
37285
|
+
"UNSUPPORTED_SOURCE",
|
|
37286
|
+
"INVALID_PACKAGE",
|
|
37287
|
+
"CAPABILITY_UNAVAILABLE",
|
|
37288
|
+
"UNSUPPORTED_TEMPLATE_CONTENT"
|
|
37289
|
+
]
|
|
37290
|
+
},
|
|
37291
|
+
"message": {
|
|
37292
|
+
"type": "string"
|
|
37293
|
+
}
|
|
37294
|
+
},
|
|
37295
|
+
"additionalProperties": false,
|
|
37296
|
+
"required": [
|
|
37297
|
+
"code",
|
|
37298
|
+
"message"
|
|
37299
|
+
]
|
|
37300
|
+
}
|
|
37301
|
+
},
|
|
37302
|
+
"additionalProperties": false,
|
|
37303
|
+
"required": [
|
|
37304
|
+
"success",
|
|
37305
|
+
"failure"
|
|
37306
|
+
]
|
|
37307
|
+
}
|
|
37308
|
+
},
|
|
36429
37309
|
"doc.create.paragraph": {
|
|
36430
37310
|
"operationId": "doc.create.paragraph",
|
|
36431
37311
|
"sdkSurface": "document",
|
|
@@ -83798,6 +84678,41 @@ const CONTRACT = {
|
|
|
83798
84678
|
"dryRun"
|
|
83799
84679
|
]
|
|
83800
84680
|
},
|
|
84681
|
+
"templates.apply": {
|
|
84682
|
+
"type": "object",
|
|
84683
|
+
"properties": {
|
|
84684
|
+
"available": {
|
|
84685
|
+
"type": "boolean"
|
|
84686
|
+
},
|
|
84687
|
+
"tracked": {
|
|
84688
|
+
"type": "boolean"
|
|
84689
|
+
},
|
|
84690
|
+
"dryRun": {
|
|
84691
|
+
"type": "boolean"
|
|
84692
|
+
},
|
|
84693
|
+
"reasons": {
|
|
84694
|
+
"type": "array",
|
|
84695
|
+
"items": {
|
|
84696
|
+
"enum": [
|
|
84697
|
+
"COMMAND_UNAVAILABLE",
|
|
84698
|
+
"HELPER_UNAVAILABLE",
|
|
84699
|
+
"OPERATION_UNAVAILABLE",
|
|
84700
|
+
"TRACKED_MODE_UNAVAILABLE",
|
|
84701
|
+
"DRY_RUN_UNAVAILABLE",
|
|
84702
|
+
"NAMESPACE_UNAVAILABLE",
|
|
84703
|
+
"STYLES_PART_MISSING",
|
|
84704
|
+
"COLLABORATION_ACTIVE"
|
|
84705
|
+
]
|
|
84706
|
+
}
|
|
84707
|
+
}
|
|
84708
|
+
},
|
|
84709
|
+
"additionalProperties": false,
|
|
84710
|
+
"required": [
|
|
84711
|
+
"available",
|
|
84712
|
+
"tracked",
|
|
84713
|
+
"dryRun"
|
|
84714
|
+
]
|
|
84715
|
+
},
|
|
83801
84716
|
"create.paragraph": {
|
|
83802
84717
|
"type": "object",
|
|
83803
84718
|
"properties": {
|
|
@@ -95799,6 +96714,7 @@ const CONTRACT = {
|
|
|
95799
96714
|
"format.stylisticSets",
|
|
95800
96715
|
"format.contextualAlternates",
|
|
95801
96716
|
"styles.apply",
|
|
96717
|
+
"templates.apply",
|
|
95802
96718
|
"create.paragraph",
|
|
95803
96719
|
"create.heading",
|
|
95804
96720
|
"create.sectionBreak",
|