@superdoc-dev/sdk 1.8.0-next.93 → 1.8.0-next.95

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.
@@ -91571,6 +91571,181 @@ export const CONTRACT = {
91571
91571
  "tracked",
91572
91572
  "dryRun"
91573
91573
  ]
91574
+ },
91575
+ "customXml.parts.list": {
91576
+ "type": "object",
91577
+ "properties": {
91578
+ "available": {
91579
+ "type": "boolean"
91580
+ },
91581
+ "tracked": {
91582
+ "type": "boolean"
91583
+ },
91584
+ "dryRun": {
91585
+ "type": "boolean"
91586
+ },
91587
+ "reasons": {
91588
+ "type": "array",
91589
+ "items": {
91590
+ "enum": [
91591
+ "COMMAND_UNAVAILABLE",
91592
+ "HELPER_UNAVAILABLE",
91593
+ "OPERATION_UNAVAILABLE",
91594
+ "TRACKED_MODE_UNAVAILABLE",
91595
+ "DRY_RUN_UNAVAILABLE",
91596
+ "NAMESPACE_UNAVAILABLE",
91597
+ "STYLES_PART_MISSING",
91598
+ "COLLABORATION_ACTIVE"
91599
+ ]
91600
+ }
91601
+ }
91602
+ },
91603
+ "additionalProperties": false,
91604
+ "required": [
91605
+ "available",
91606
+ "tracked",
91607
+ "dryRun"
91608
+ ]
91609
+ },
91610
+ "customXml.parts.get": {
91611
+ "type": "object",
91612
+ "properties": {
91613
+ "available": {
91614
+ "type": "boolean"
91615
+ },
91616
+ "tracked": {
91617
+ "type": "boolean"
91618
+ },
91619
+ "dryRun": {
91620
+ "type": "boolean"
91621
+ },
91622
+ "reasons": {
91623
+ "type": "array",
91624
+ "items": {
91625
+ "enum": [
91626
+ "COMMAND_UNAVAILABLE",
91627
+ "HELPER_UNAVAILABLE",
91628
+ "OPERATION_UNAVAILABLE",
91629
+ "TRACKED_MODE_UNAVAILABLE",
91630
+ "DRY_RUN_UNAVAILABLE",
91631
+ "NAMESPACE_UNAVAILABLE",
91632
+ "STYLES_PART_MISSING",
91633
+ "COLLABORATION_ACTIVE"
91634
+ ]
91635
+ }
91636
+ }
91637
+ },
91638
+ "additionalProperties": false,
91639
+ "required": [
91640
+ "available",
91641
+ "tracked",
91642
+ "dryRun"
91643
+ ]
91644
+ },
91645
+ "customXml.parts.create": {
91646
+ "type": "object",
91647
+ "properties": {
91648
+ "available": {
91649
+ "type": "boolean"
91650
+ },
91651
+ "tracked": {
91652
+ "type": "boolean"
91653
+ },
91654
+ "dryRun": {
91655
+ "type": "boolean"
91656
+ },
91657
+ "reasons": {
91658
+ "type": "array",
91659
+ "items": {
91660
+ "enum": [
91661
+ "COMMAND_UNAVAILABLE",
91662
+ "HELPER_UNAVAILABLE",
91663
+ "OPERATION_UNAVAILABLE",
91664
+ "TRACKED_MODE_UNAVAILABLE",
91665
+ "DRY_RUN_UNAVAILABLE",
91666
+ "NAMESPACE_UNAVAILABLE",
91667
+ "STYLES_PART_MISSING",
91668
+ "COLLABORATION_ACTIVE"
91669
+ ]
91670
+ }
91671
+ }
91672
+ },
91673
+ "additionalProperties": false,
91674
+ "required": [
91675
+ "available",
91676
+ "tracked",
91677
+ "dryRun"
91678
+ ]
91679
+ },
91680
+ "customXml.parts.patch": {
91681
+ "type": "object",
91682
+ "properties": {
91683
+ "available": {
91684
+ "type": "boolean"
91685
+ },
91686
+ "tracked": {
91687
+ "type": "boolean"
91688
+ },
91689
+ "dryRun": {
91690
+ "type": "boolean"
91691
+ },
91692
+ "reasons": {
91693
+ "type": "array",
91694
+ "items": {
91695
+ "enum": [
91696
+ "COMMAND_UNAVAILABLE",
91697
+ "HELPER_UNAVAILABLE",
91698
+ "OPERATION_UNAVAILABLE",
91699
+ "TRACKED_MODE_UNAVAILABLE",
91700
+ "DRY_RUN_UNAVAILABLE",
91701
+ "NAMESPACE_UNAVAILABLE",
91702
+ "STYLES_PART_MISSING",
91703
+ "COLLABORATION_ACTIVE"
91704
+ ]
91705
+ }
91706
+ }
91707
+ },
91708
+ "additionalProperties": false,
91709
+ "required": [
91710
+ "available",
91711
+ "tracked",
91712
+ "dryRun"
91713
+ ]
91714
+ },
91715
+ "customXml.parts.remove": {
91716
+ "type": "object",
91717
+ "properties": {
91718
+ "available": {
91719
+ "type": "boolean"
91720
+ },
91721
+ "tracked": {
91722
+ "type": "boolean"
91723
+ },
91724
+ "dryRun": {
91725
+ "type": "boolean"
91726
+ },
91727
+ "reasons": {
91728
+ "type": "array",
91729
+ "items": {
91730
+ "enum": [
91731
+ "COMMAND_UNAVAILABLE",
91732
+ "HELPER_UNAVAILABLE",
91733
+ "OPERATION_UNAVAILABLE",
91734
+ "TRACKED_MODE_UNAVAILABLE",
91735
+ "DRY_RUN_UNAVAILABLE",
91736
+ "NAMESPACE_UNAVAILABLE",
91737
+ "STYLES_PART_MISSING",
91738
+ "COLLABORATION_ACTIVE"
91739
+ ]
91740
+ }
91741
+ }
91742
+ },
91743
+ "additionalProperties": false,
91744
+ "required": [
91745
+ "available",
91746
+ "tracked",
91747
+ "dryRun"
91748
+ ]
91574
91749
  }
91575
91750
  },
91576
91751
  "additionalProperties": false,
@@ -91966,7 +92141,12 @@ export const CONTRACT = {
91966
92141
  "permissionRanges.get",
91967
92142
  "permissionRanges.create",
91968
92143
  "permissionRanges.remove",
91969
- "permissionRanges.updatePrincipal"
92144
+ "permissionRanges.updatePrincipal",
92145
+ "customXml.parts.list",
92146
+ "customXml.parts.get",
92147
+ "customXml.parts.create",
92148
+ "customXml.parts.patch",
92149
+ "customXml.parts.remove"
91970
92150
  ]
91971
92151
  },
91972
92152
  "planEngine": {
@@ -152866,6 +153046,1075 @@ export const CONTRACT = {
152866
153046
  },
152867
153047
  "skipAsATool": true
152868
153048
  },
153049
+ "doc.customXml.parts.list": {
153050
+ "operationId": "doc.customXml.parts.list",
153051
+ "sdkSurface": "document",
153052
+ "command": "custom-xml parts list",
153053
+ "commandTokens": [
153054
+ "custom-xml",
153055
+ "parts",
153056
+ "list"
153057
+ ],
153058
+ "category": "core",
153059
+ "description": "List Custom XML Data Storage Parts in the document, optionally filtered by root namespace or schema reference.",
153060
+ "requiresDocumentContext": true,
153061
+ "docRequirement": "optional",
153062
+ "responseEnvelopeKey": null,
153063
+ "params": [
153064
+ {
153065
+ "name": "doc",
153066
+ "kind": "doc",
153067
+ "type": "string",
153068
+ "description": "Document path. Optional when a session is already open."
153069
+ },
153070
+ {
153071
+ "name": "sessionId",
153072
+ "kind": "flag",
153073
+ "type": "string",
153074
+ "flag": "session",
153075
+ "description": "Session ID for multi-session workflows. Optional when only one session is open."
153076
+ },
153077
+ {
153078
+ "name": "limit",
153079
+ "kind": "flag",
153080
+ "type": "number"
153081
+ },
153082
+ {
153083
+ "name": "offset",
153084
+ "kind": "flag",
153085
+ "type": "number"
153086
+ },
153087
+ {
153088
+ "name": "rootNamespace",
153089
+ "kind": "flag",
153090
+ "type": "string",
153091
+ "flag": "root-namespace"
153092
+ },
153093
+ {
153094
+ "name": "schemaRef",
153095
+ "kind": "flag",
153096
+ "type": "string",
153097
+ "flag": "schema-ref"
153098
+ }
153099
+ ],
153100
+ "constraints": null,
153101
+ "mutates": false,
153102
+ "idempotency": "idempotent",
153103
+ "supportsTrackedMode": false,
153104
+ "supportsDryRun": false,
153105
+ "inputSchema": {
153106
+ "type": "object",
153107
+ "properties": {
153108
+ "limit": {
153109
+ "type": "integer",
153110
+ "minimum": 1
153111
+ },
153112
+ "offset": {
153113
+ "type": "integer",
153114
+ "minimum": 0
153115
+ },
153116
+ "rootNamespace": {
153117
+ "type": "string"
153118
+ },
153119
+ "schemaRef": {
153120
+ "type": "string"
153121
+ }
153122
+ },
153123
+ "additionalProperties": false
153124
+ },
153125
+ "outputSchema": {
153126
+ "type": "object"
153127
+ }
153128
+ },
153129
+ "doc.customXml.parts.get": {
153130
+ "operationId": "doc.customXml.parts.get",
153131
+ "sdkSurface": "document",
153132
+ "command": "custom-xml parts get",
153133
+ "commandTokens": [
153134
+ "custom-xml",
153135
+ "parts",
153136
+ "get"
153137
+ ],
153138
+ "category": "core",
153139
+ "description": "Get a single Custom XML Data Storage Part by itemID or package part name, including its full content. v1 partName targeting is limited to Word-style customXml/itemN.xml paths.",
153140
+ "requiresDocumentContext": true,
153141
+ "docRequirement": "optional",
153142
+ "responseEnvelopeKey": null,
153143
+ "params": [
153144
+ {
153145
+ "name": "doc",
153146
+ "kind": "doc",
153147
+ "type": "string",
153148
+ "description": "Document path. Optional when a session is already open."
153149
+ },
153150
+ {
153151
+ "name": "sessionId",
153152
+ "kind": "flag",
153153
+ "type": "string",
153154
+ "flag": "session",
153155
+ "description": "Session ID for multi-session workflows. Optional when only one session is open."
153156
+ },
153157
+ {
153158
+ "name": "target",
153159
+ "kind": "jsonFlag",
153160
+ "type": "json",
153161
+ "flag": "target-json",
153162
+ "required": true,
153163
+ "schema": {
153164
+ "oneOf": [
153165
+ {
153166
+ "type": "object",
153167
+ "properties": {
153168
+ "id": {
153169
+ "type": "string"
153170
+ }
153171
+ },
153172
+ "required": [
153173
+ "id"
153174
+ ]
153175
+ },
153176
+ {
153177
+ "type": "object",
153178
+ "properties": {
153179
+ "partName": {
153180
+ "type": "string"
153181
+ }
153182
+ },
153183
+ "required": [
153184
+ "partName"
153185
+ ]
153186
+ }
153187
+ ]
153188
+ }
153189
+ }
153190
+ ],
153191
+ "constraints": null,
153192
+ "mutates": false,
153193
+ "idempotency": "idempotent",
153194
+ "supportsTrackedMode": false,
153195
+ "supportsDryRun": false,
153196
+ "inputSchema": {
153197
+ "type": "object",
153198
+ "properties": {
153199
+ "target": {
153200
+ "oneOf": [
153201
+ {
153202
+ "type": "object",
153203
+ "properties": {
153204
+ "id": {
153205
+ "type": "string",
153206
+ "minLength": 1
153207
+ }
153208
+ },
153209
+ "additionalProperties": false,
153210
+ "required": [
153211
+ "id"
153212
+ ]
153213
+ },
153214
+ {
153215
+ "type": "object",
153216
+ "properties": {
153217
+ "partName": {
153218
+ "type": "string",
153219
+ "minLength": 1
153220
+ }
153221
+ },
153222
+ "additionalProperties": false,
153223
+ "required": [
153224
+ "partName"
153225
+ ]
153226
+ }
153227
+ ]
153228
+ }
153229
+ },
153230
+ "additionalProperties": false,
153231
+ "required": [
153232
+ "target"
153233
+ ]
153234
+ },
153235
+ "outputSchema": {
153236
+ "oneOf": [
153237
+ {
153238
+ "type": "object"
153239
+ },
153240
+ {
153241
+ "type": "null"
153242
+ }
153243
+ ]
153244
+ }
153245
+ },
153246
+ "doc.customXml.parts.create": {
153247
+ "operationId": "doc.customXml.parts.create",
153248
+ "sdkSurface": "document",
153249
+ "command": "custom-xml parts create",
153250
+ "commandTokens": [
153251
+ "custom-xml",
153252
+ "parts",
153253
+ "create"
153254
+ ],
153255
+ "category": "core",
153256
+ "description": "Add a new Custom XML Data Storage Part to the document. Generates a fresh itemID GUID and emits the Properties Part.",
153257
+ "requiresDocumentContext": true,
153258
+ "docRequirement": "optional",
153259
+ "responseEnvelopeKey": null,
153260
+ "params": [
153261
+ {
153262
+ "name": "doc",
153263
+ "kind": "doc",
153264
+ "type": "string",
153265
+ "description": "Document path. Optional when a session is already open."
153266
+ },
153267
+ {
153268
+ "name": "sessionId",
153269
+ "kind": "flag",
153270
+ "type": "string",
153271
+ "flag": "session",
153272
+ "description": "Session ID for multi-session workflows. Optional when only one session is open."
153273
+ },
153274
+ {
153275
+ "name": "out",
153276
+ "kind": "flag",
153277
+ "type": "string",
153278
+ "agentVisible": false
153279
+ },
153280
+ {
153281
+ "name": "force",
153282
+ "kind": "flag",
153283
+ "type": "boolean",
153284
+ "description": "Bypass confirmation checks."
153285
+ },
153286
+ {
153287
+ "name": "expectedRevision",
153288
+ "kind": "flag",
153289
+ "type": "number",
153290
+ "flag": "expected-revision",
153291
+ "agentVisible": false
153292
+ },
153293
+ {
153294
+ "name": "changeMode",
153295
+ "kind": "flag",
153296
+ "type": "string",
153297
+ "flag": "change-mode",
153298
+ "schema": {
153299
+ "enum": [
153300
+ "direct",
153301
+ "tracked"
153302
+ ]
153303
+ },
153304
+ "description": "Edit mode: \"direct\" applies changes immediately, \"tracked\" records as suggestions."
153305
+ },
153306
+ {
153307
+ "name": "dryRun",
153308
+ "kind": "flag",
153309
+ "type": "boolean",
153310
+ "flag": "dry-run",
153311
+ "description": "Preview the result without applying changes."
153312
+ },
153313
+ {
153314
+ "name": "content",
153315
+ "kind": "flag",
153316
+ "type": "string",
153317
+ "required": true
153318
+ },
153319
+ {
153320
+ "name": "schemaRefs",
153321
+ "kind": "flag",
153322
+ "type": "string[]",
153323
+ "flag": "schema-refs",
153324
+ "schema": {
153325
+ "type": "array",
153326
+ "items": {
153327
+ "type": "string"
153328
+ }
153329
+ }
153330
+ }
153331
+ ],
153332
+ "constraints": null,
153333
+ "mutates": true,
153334
+ "idempotency": "non-idempotent",
153335
+ "supportsTrackedMode": false,
153336
+ "supportsDryRun": true,
153337
+ "inputSchema": {
153338
+ "type": "object",
153339
+ "properties": {
153340
+ "content": {
153341
+ "type": "string",
153342
+ "minLength": 1
153343
+ },
153344
+ "schemaRefs": {
153345
+ "type": "array",
153346
+ "items": {
153347
+ "type": "string",
153348
+ "minLength": 1
153349
+ }
153350
+ }
153351
+ },
153352
+ "additionalProperties": false,
153353
+ "required": [
153354
+ "content"
153355
+ ]
153356
+ },
153357
+ "outputSchema": {
153358
+ "oneOf": [
153359
+ {
153360
+ "type": "object",
153361
+ "properties": {
153362
+ "success": {
153363
+ "const": true
153364
+ },
153365
+ "id": {
153366
+ "type": "string"
153367
+ },
153368
+ "partName": {
153369
+ "type": "string"
153370
+ },
153371
+ "propsPartName": {
153372
+ "type": "string"
153373
+ }
153374
+ },
153375
+ "additionalProperties": false,
153376
+ "required": [
153377
+ "success",
153378
+ "id",
153379
+ "partName",
153380
+ "propsPartName"
153381
+ ]
153382
+ },
153383
+ {
153384
+ "type": "object",
153385
+ "properties": {
153386
+ "success": {
153387
+ "const": false
153388
+ },
153389
+ "failure": {
153390
+ "type": "object",
153391
+ "properties": {
153392
+ "code": {
153393
+ "type": "string"
153394
+ },
153395
+ "message": {
153396
+ "type": "string"
153397
+ },
153398
+ "details": {}
153399
+ },
153400
+ "additionalProperties": false,
153401
+ "required": [
153402
+ "code",
153403
+ "message"
153404
+ ]
153405
+ }
153406
+ },
153407
+ "additionalProperties": false,
153408
+ "required": [
153409
+ "success",
153410
+ "failure"
153411
+ ]
153412
+ }
153413
+ ]
153414
+ },
153415
+ "successSchema": {
153416
+ "type": "object",
153417
+ "properties": {
153418
+ "success": {
153419
+ "const": true
153420
+ },
153421
+ "id": {
153422
+ "type": "string"
153423
+ },
153424
+ "partName": {
153425
+ "type": "string"
153426
+ },
153427
+ "propsPartName": {
153428
+ "type": "string"
153429
+ }
153430
+ },
153431
+ "additionalProperties": false,
153432
+ "required": [
153433
+ "success",
153434
+ "id",
153435
+ "partName",
153436
+ "propsPartName"
153437
+ ]
153438
+ },
153439
+ "failureSchema": {
153440
+ "type": "object",
153441
+ "properties": {
153442
+ "success": {
153443
+ "const": false
153444
+ },
153445
+ "failure": {
153446
+ "type": "object",
153447
+ "properties": {
153448
+ "code": {
153449
+ "type": "string"
153450
+ },
153451
+ "message": {
153452
+ "type": "string"
153453
+ },
153454
+ "details": {}
153455
+ },
153456
+ "additionalProperties": false,
153457
+ "required": [
153458
+ "code",
153459
+ "message"
153460
+ ]
153461
+ }
153462
+ },
153463
+ "additionalProperties": false,
153464
+ "required": [
153465
+ "success",
153466
+ "failure"
153467
+ ]
153468
+ }
153469
+ },
153470
+ "doc.customXml.parts.patch": {
153471
+ "operationId": "doc.customXml.parts.patch",
153472
+ "sdkSurface": "document",
153473
+ "command": "custom-xml parts patch",
153474
+ "commandTokens": [
153475
+ "custom-xml",
153476
+ "parts",
153477
+ "patch"
153478
+ ],
153479
+ "category": "core",
153480
+ "description": "Replace the content and/or schemaRefs of an existing Custom XML Data Storage Part. At least one of content or schemaRefs is required. v1 partName targeting is limited to Word-style customXml/itemN.xml paths.",
153481
+ "requiresDocumentContext": true,
153482
+ "docRequirement": "optional",
153483
+ "responseEnvelopeKey": null,
153484
+ "params": [
153485
+ {
153486
+ "name": "doc",
153487
+ "kind": "doc",
153488
+ "type": "string",
153489
+ "description": "Document path. Optional when a session is already open."
153490
+ },
153491
+ {
153492
+ "name": "sessionId",
153493
+ "kind": "flag",
153494
+ "type": "string",
153495
+ "flag": "session",
153496
+ "description": "Session ID for multi-session workflows. Optional when only one session is open."
153497
+ },
153498
+ {
153499
+ "name": "out",
153500
+ "kind": "flag",
153501
+ "type": "string",
153502
+ "agentVisible": false
153503
+ },
153504
+ {
153505
+ "name": "force",
153506
+ "kind": "flag",
153507
+ "type": "boolean",
153508
+ "description": "Bypass confirmation checks."
153509
+ },
153510
+ {
153511
+ "name": "expectedRevision",
153512
+ "kind": "flag",
153513
+ "type": "number",
153514
+ "flag": "expected-revision",
153515
+ "agentVisible": false
153516
+ },
153517
+ {
153518
+ "name": "changeMode",
153519
+ "kind": "flag",
153520
+ "type": "string",
153521
+ "flag": "change-mode",
153522
+ "schema": {
153523
+ "enum": [
153524
+ "direct",
153525
+ "tracked"
153526
+ ]
153527
+ },
153528
+ "description": "Edit mode: \"direct\" applies changes immediately, \"tracked\" records as suggestions."
153529
+ },
153530
+ {
153531
+ "name": "dryRun",
153532
+ "kind": "flag",
153533
+ "type": "boolean",
153534
+ "flag": "dry-run",
153535
+ "description": "Preview the result without applying changes."
153536
+ },
153537
+ {
153538
+ "name": "target",
153539
+ "kind": "jsonFlag",
153540
+ "type": "json",
153541
+ "flag": "target-json",
153542
+ "required": true,
153543
+ "schema": {
153544
+ "oneOf": [
153545
+ {
153546
+ "type": "object",
153547
+ "properties": {
153548
+ "id": {
153549
+ "type": "string"
153550
+ }
153551
+ },
153552
+ "required": [
153553
+ "id"
153554
+ ]
153555
+ },
153556
+ {
153557
+ "type": "object",
153558
+ "properties": {
153559
+ "partName": {
153560
+ "type": "string"
153561
+ }
153562
+ },
153563
+ "required": [
153564
+ "partName"
153565
+ ]
153566
+ }
153567
+ ]
153568
+ }
153569
+ },
153570
+ {
153571
+ "name": "content",
153572
+ "kind": "flag",
153573
+ "type": "string"
153574
+ },
153575
+ {
153576
+ "name": "schemaRefs",
153577
+ "kind": "flag",
153578
+ "type": "string[]",
153579
+ "flag": "schema-refs",
153580
+ "schema": {
153581
+ "type": "array",
153582
+ "items": {
153583
+ "type": "string"
153584
+ }
153585
+ }
153586
+ }
153587
+ ],
153588
+ "constraints": null,
153589
+ "mutates": true,
153590
+ "idempotency": "idempotent",
153591
+ "supportsTrackedMode": false,
153592
+ "supportsDryRun": true,
153593
+ "inputSchema": {
153594
+ "type": "object",
153595
+ "properties": {
153596
+ "target": {
153597
+ "oneOf": [
153598
+ {
153599
+ "type": "object",
153600
+ "properties": {
153601
+ "id": {
153602
+ "type": "string",
153603
+ "minLength": 1
153604
+ }
153605
+ },
153606
+ "additionalProperties": false,
153607
+ "required": [
153608
+ "id"
153609
+ ]
153610
+ },
153611
+ {
153612
+ "type": "object",
153613
+ "properties": {
153614
+ "partName": {
153615
+ "type": "string",
153616
+ "minLength": 1
153617
+ }
153618
+ },
153619
+ "additionalProperties": false,
153620
+ "required": [
153621
+ "partName"
153622
+ ]
153623
+ }
153624
+ ]
153625
+ },
153626
+ "content": {
153627
+ "type": "string",
153628
+ "minLength": 1
153629
+ },
153630
+ "schemaRefs": {
153631
+ "type": "array",
153632
+ "items": {
153633
+ "type": "string",
153634
+ "minLength": 1
153635
+ }
153636
+ }
153637
+ },
153638
+ "required": [
153639
+ "target"
153640
+ ],
153641
+ "anyOf": [
153642
+ {
153643
+ "required": [
153644
+ "content"
153645
+ ]
153646
+ },
153647
+ {
153648
+ "required": [
153649
+ "schemaRefs"
153650
+ ]
153651
+ }
153652
+ ],
153653
+ "additionalProperties": false
153654
+ },
153655
+ "outputSchema": {
153656
+ "oneOf": [
153657
+ {
153658
+ "type": "object",
153659
+ "properties": {
153660
+ "success": {
153661
+ "const": true
153662
+ },
153663
+ "target": {
153664
+ "oneOf": [
153665
+ {
153666
+ "type": "object",
153667
+ "properties": {
153668
+ "id": {
153669
+ "type": "string",
153670
+ "minLength": 1
153671
+ }
153672
+ },
153673
+ "additionalProperties": false,
153674
+ "required": [
153675
+ "id"
153676
+ ]
153677
+ },
153678
+ {
153679
+ "type": "object",
153680
+ "properties": {
153681
+ "partName": {
153682
+ "type": "string",
153683
+ "minLength": 1
153684
+ }
153685
+ },
153686
+ "additionalProperties": false,
153687
+ "required": [
153688
+ "partName"
153689
+ ]
153690
+ }
153691
+ ]
153692
+ },
153693
+ "id": {
153694
+ "type": "string",
153695
+ "minLength": 1
153696
+ }
153697
+ },
153698
+ "additionalProperties": false,
153699
+ "required": [
153700
+ "success",
153701
+ "target"
153702
+ ]
153703
+ },
153704
+ {
153705
+ "type": "object",
153706
+ "properties": {
153707
+ "success": {
153708
+ "const": false
153709
+ },
153710
+ "failure": {
153711
+ "type": "object",
153712
+ "properties": {
153713
+ "code": {
153714
+ "type": "string"
153715
+ },
153716
+ "message": {
153717
+ "type": "string"
153718
+ },
153719
+ "details": {}
153720
+ },
153721
+ "additionalProperties": false,
153722
+ "required": [
153723
+ "code",
153724
+ "message"
153725
+ ]
153726
+ }
153727
+ },
153728
+ "additionalProperties": false,
153729
+ "required": [
153730
+ "success",
153731
+ "failure"
153732
+ ]
153733
+ }
153734
+ ]
153735
+ },
153736
+ "successSchema": {
153737
+ "type": "object",
153738
+ "properties": {
153739
+ "success": {
153740
+ "const": true
153741
+ },
153742
+ "target": {
153743
+ "oneOf": [
153744
+ {
153745
+ "type": "object",
153746
+ "properties": {
153747
+ "id": {
153748
+ "type": "string",
153749
+ "minLength": 1
153750
+ }
153751
+ },
153752
+ "additionalProperties": false,
153753
+ "required": [
153754
+ "id"
153755
+ ]
153756
+ },
153757
+ {
153758
+ "type": "object",
153759
+ "properties": {
153760
+ "partName": {
153761
+ "type": "string",
153762
+ "minLength": 1
153763
+ }
153764
+ },
153765
+ "additionalProperties": false,
153766
+ "required": [
153767
+ "partName"
153768
+ ]
153769
+ }
153770
+ ]
153771
+ },
153772
+ "id": {
153773
+ "type": "string",
153774
+ "minLength": 1
153775
+ }
153776
+ },
153777
+ "additionalProperties": false,
153778
+ "required": [
153779
+ "success",
153780
+ "target"
153781
+ ]
153782
+ },
153783
+ "failureSchema": {
153784
+ "type": "object",
153785
+ "properties": {
153786
+ "success": {
153787
+ "const": false
153788
+ },
153789
+ "failure": {
153790
+ "type": "object",
153791
+ "properties": {
153792
+ "code": {
153793
+ "type": "string"
153794
+ },
153795
+ "message": {
153796
+ "type": "string"
153797
+ },
153798
+ "details": {}
153799
+ },
153800
+ "additionalProperties": false,
153801
+ "required": [
153802
+ "code",
153803
+ "message"
153804
+ ]
153805
+ }
153806
+ },
153807
+ "additionalProperties": false,
153808
+ "required": [
153809
+ "success",
153810
+ "failure"
153811
+ ]
153812
+ }
153813
+ },
153814
+ "doc.customXml.parts.remove": {
153815
+ "operationId": "doc.customXml.parts.remove",
153816
+ "sdkSurface": "document",
153817
+ "command": "custom-xml parts remove",
153818
+ "commandTokens": [
153819
+ "custom-xml",
153820
+ "parts",
153821
+ "remove"
153822
+ ],
153823
+ "category": "core",
153824
+ "description": "Remove a Custom XML Data Storage Part and clean up all linked package files (item, props, rels, content-types entry). v1 partName targeting is limited to Word-style customXml/itemN.xml paths.",
153825
+ "requiresDocumentContext": true,
153826
+ "docRequirement": "optional",
153827
+ "responseEnvelopeKey": null,
153828
+ "params": [
153829
+ {
153830
+ "name": "doc",
153831
+ "kind": "doc",
153832
+ "type": "string",
153833
+ "description": "Document path. Optional when a session is already open."
153834
+ },
153835
+ {
153836
+ "name": "sessionId",
153837
+ "kind": "flag",
153838
+ "type": "string",
153839
+ "flag": "session",
153840
+ "description": "Session ID for multi-session workflows. Optional when only one session is open."
153841
+ },
153842
+ {
153843
+ "name": "out",
153844
+ "kind": "flag",
153845
+ "type": "string",
153846
+ "agentVisible": false
153847
+ },
153848
+ {
153849
+ "name": "force",
153850
+ "kind": "flag",
153851
+ "type": "boolean",
153852
+ "description": "Bypass confirmation checks."
153853
+ },
153854
+ {
153855
+ "name": "expectedRevision",
153856
+ "kind": "flag",
153857
+ "type": "number",
153858
+ "flag": "expected-revision",
153859
+ "agentVisible": false
153860
+ },
153861
+ {
153862
+ "name": "changeMode",
153863
+ "kind": "flag",
153864
+ "type": "string",
153865
+ "flag": "change-mode",
153866
+ "schema": {
153867
+ "enum": [
153868
+ "direct",
153869
+ "tracked"
153870
+ ]
153871
+ },
153872
+ "description": "Edit mode: \"direct\" applies changes immediately, \"tracked\" records as suggestions."
153873
+ },
153874
+ {
153875
+ "name": "dryRun",
153876
+ "kind": "flag",
153877
+ "type": "boolean",
153878
+ "flag": "dry-run",
153879
+ "description": "Preview the result without applying changes."
153880
+ },
153881
+ {
153882
+ "name": "target",
153883
+ "kind": "jsonFlag",
153884
+ "type": "json",
153885
+ "flag": "target-json",
153886
+ "required": true,
153887
+ "schema": {
153888
+ "oneOf": [
153889
+ {
153890
+ "type": "object",
153891
+ "properties": {
153892
+ "id": {
153893
+ "type": "string"
153894
+ }
153895
+ },
153896
+ "required": [
153897
+ "id"
153898
+ ]
153899
+ },
153900
+ {
153901
+ "type": "object",
153902
+ "properties": {
153903
+ "partName": {
153904
+ "type": "string"
153905
+ }
153906
+ },
153907
+ "required": [
153908
+ "partName"
153909
+ ]
153910
+ }
153911
+ ]
153912
+ }
153913
+ }
153914
+ ],
153915
+ "constraints": null,
153916
+ "mutates": true,
153917
+ "idempotency": "non-idempotent",
153918
+ "supportsTrackedMode": false,
153919
+ "supportsDryRun": true,
153920
+ "inputSchema": {
153921
+ "type": "object",
153922
+ "properties": {
153923
+ "target": {
153924
+ "oneOf": [
153925
+ {
153926
+ "type": "object",
153927
+ "properties": {
153928
+ "id": {
153929
+ "type": "string",
153930
+ "minLength": 1
153931
+ }
153932
+ },
153933
+ "additionalProperties": false,
153934
+ "required": [
153935
+ "id"
153936
+ ]
153937
+ },
153938
+ {
153939
+ "type": "object",
153940
+ "properties": {
153941
+ "partName": {
153942
+ "type": "string",
153943
+ "minLength": 1
153944
+ }
153945
+ },
153946
+ "additionalProperties": false,
153947
+ "required": [
153948
+ "partName"
153949
+ ]
153950
+ }
153951
+ ]
153952
+ }
153953
+ },
153954
+ "additionalProperties": false,
153955
+ "required": [
153956
+ "target"
153957
+ ]
153958
+ },
153959
+ "outputSchema": {
153960
+ "oneOf": [
153961
+ {
153962
+ "type": "object",
153963
+ "properties": {
153964
+ "success": {
153965
+ "const": true
153966
+ },
153967
+ "target": {
153968
+ "oneOf": [
153969
+ {
153970
+ "type": "object",
153971
+ "properties": {
153972
+ "id": {
153973
+ "type": "string",
153974
+ "minLength": 1
153975
+ }
153976
+ },
153977
+ "additionalProperties": false,
153978
+ "required": [
153979
+ "id"
153980
+ ]
153981
+ },
153982
+ {
153983
+ "type": "object",
153984
+ "properties": {
153985
+ "partName": {
153986
+ "type": "string",
153987
+ "minLength": 1
153988
+ }
153989
+ },
153990
+ "additionalProperties": false,
153991
+ "required": [
153992
+ "partName"
153993
+ ]
153994
+ }
153995
+ ]
153996
+ },
153997
+ "id": {
153998
+ "type": "string",
153999
+ "minLength": 1
154000
+ }
154001
+ },
154002
+ "additionalProperties": false,
154003
+ "required": [
154004
+ "success",
154005
+ "target"
154006
+ ]
154007
+ },
154008
+ {
154009
+ "type": "object",
154010
+ "properties": {
154011
+ "success": {
154012
+ "const": false
154013
+ },
154014
+ "failure": {
154015
+ "type": "object",
154016
+ "properties": {
154017
+ "code": {
154018
+ "type": "string"
154019
+ },
154020
+ "message": {
154021
+ "type": "string"
154022
+ },
154023
+ "details": {}
154024
+ },
154025
+ "additionalProperties": false,
154026
+ "required": [
154027
+ "code",
154028
+ "message"
154029
+ ]
154030
+ }
154031
+ },
154032
+ "additionalProperties": false,
154033
+ "required": [
154034
+ "success",
154035
+ "failure"
154036
+ ]
154037
+ }
154038
+ ]
154039
+ },
154040
+ "successSchema": {
154041
+ "type": "object",
154042
+ "properties": {
154043
+ "success": {
154044
+ "const": true
154045
+ },
154046
+ "target": {
154047
+ "oneOf": [
154048
+ {
154049
+ "type": "object",
154050
+ "properties": {
154051
+ "id": {
154052
+ "type": "string",
154053
+ "minLength": 1
154054
+ }
154055
+ },
154056
+ "additionalProperties": false,
154057
+ "required": [
154058
+ "id"
154059
+ ]
154060
+ },
154061
+ {
154062
+ "type": "object",
154063
+ "properties": {
154064
+ "partName": {
154065
+ "type": "string",
154066
+ "minLength": 1
154067
+ }
154068
+ },
154069
+ "additionalProperties": false,
154070
+ "required": [
154071
+ "partName"
154072
+ ]
154073
+ }
154074
+ ]
154075
+ },
154076
+ "id": {
154077
+ "type": "string",
154078
+ "minLength": 1
154079
+ }
154080
+ },
154081
+ "additionalProperties": false,
154082
+ "required": [
154083
+ "success",
154084
+ "target"
154085
+ ]
154086
+ },
154087
+ "failureSchema": {
154088
+ "type": "object",
154089
+ "properties": {
154090
+ "success": {
154091
+ "const": false
154092
+ },
154093
+ "failure": {
154094
+ "type": "object",
154095
+ "properties": {
154096
+ "code": {
154097
+ "type": "string"
154098
+ },
154099
+ "message": {
154100
+ "type": "string"
154101
+ },
154102
+ "details": {}
154103
+ },
154104
+ "additionalProperties": false,
154105
+ "required": [
154106
+ "code",
154107
+ "message"
154108
+ ]
154109
+ }
154110
+ },
154111
+ "additionalProperties": false,
154112
+ "required": [
154113
+ "success",
154114
+ "failure"
154115
+ ]
154116
+ }
154117
+ },
152869
154118
  "doc.open": {
152870
154119
  "operationId": "doc.open",
152871
154120
  "sdkSurface": "client",