@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.
@@ -90450,6 +90450,181 @@ const CONTRACT = {
90450
90450
  "tracked",
90451
90451
  "dryRun"
90452
90452
  ]
90453
+ },
90454
+ "customXml.parts.list": {
90455
+ "type": "object",
90456
+ "properties": {
90457
+ "available": {
90458
+ "type": "boolean"
90459
+ },
90460
+ "tracked": {
90461
+ "type": "boolean"
90462
+ },
90463
+ "dryRun": {
90464
+ "type": "boolean"
90465
+ },
90466
+ "reasons": {
90467
+ "type": "array",
90468
+ "items": {
90469
+ "enum": [
90470
+ "COMMAND_UNAVAILABLE",
90471
+ "HELPER_UNAVAILABLE",
90472
+ "OPERATION_UNAVAILABLE",
90473
+ "TRACKED_MODE_UNAVAILABLE",
90474
+ "DRY_RUN_UNAVAILABLE",
90475
+ "NAMESPACE_UNAVAILABLE",
90476
+ "STYLES_PART_MISSING",
90477
+ "COLLABORATION_ACTIVE"
90478
+ ]
90479
+ }
90480
+ }
90481
+ },
90482
+ "additionalProperties": false,
90483
+ "required": [
90484
+ "available",
90485
+ "tracked",
90486
+ "dryRun"
90487
+ ]
90488
+ },
90489
+ "customXml.parts.get": {
90490
+ "type": "object",
90491
+ "properties": {
90492
+ "available": {
90493
+ "type": "boolean"
90494
+ },
90495
+ "tracked": {
90496
+ "type": "boolean"
90497
+ },
90498
+ "dryRun": {
90499
+ "type": "boolean"
90500
+ },
90501
+ "reasons": {
90502
+ "type": "array",
90503
+ "items": {
90504
+ "enum": [
90505
+ "COMMAND_UNAVAILABLE",
90506
+ "HELPER_UNAVAILABLE",
90507
+ "OPERATION_UNAVAILABLE",
90508
+ "TRACKED_MODE_UNAVAILABLE",
90509
+ "DRY_RUN_UNAVAILABLE",
90510
+ "NAMESPACE_UNAVAILABLE",
90511
+ "STYLES_PART_MISSING",
90512
+ "COLLABORATION_ACTIVE"
90513
+ ]
90514
+ }
90515
+ }
90516
+ },
90517
+ "additionalProperties": false,
90518
+ "required": [
90519
+ "available",
90520
+ "tracked",
90521
+ "dryRun"
90522
+ ]
90523
+ },
90524
+ "customXml.parts.create": {
90525
+ "type": "object",
90526
+ "properties": {
90527
+ "available": {
90528
+ "type": "boolean"
90529
+ },
90530
+ "tracked": {
90531
+ "type": "boolean"
90532
+ },
90533
+ "dryRun": {
90534
+ "type": "boolean"
90535
+ },
90536
+ "reasons": {
90537
+ "type": "array",
90538
+ "items": {
90539
+ "enum": [
90540
+ "COMMAND_UNAVAILABLE",
90541
+ "HELPER_UNAVAILABLE",
90542
+ "OPERATION_UNAVAILABLE",
90543
+ "TRACKED_MODE_UNAVAILABLE",
90544
+ "DRY_RUN_UNAVAILABLE",
90545
+ "NAMESPACE_UNAVAILABLE",
90546
+ "STYLES_PART_MISSING",
90547
+ "COLLABORATION_ACTIVE"
90548
+ ]
90549
+ }
90550
+ }
90551
+ },
90552
+ "additionalProperties": false,
90553
+ "required": [
90554
+ "available",
90555
+ "tracked",
90556
+ "dryRun"
90557
+ ]
90558
+ },
90559
+ "customXml.parts.patch": {
90560
+ "type": "object",
90561
+ "properties": {
90562
+ "available": {
90563
+ "type": "boolean"
90564
+ },
90565
+ "tracked": {
90566
+ "type": "boolean"
90567
+ },
90568
+ "dryRun": {
90569
+ "type": "boolean"
90570
+ },
90571
+ "reasons": {
90572
+ "type": "array",
90573
+ "items": {
90574
+ "enum": [
90575
+ "COMMAND_UNAVAILABLE",
90576
+ "HELPER_UNAVAILABLE",
90577
+ "OPERATION_UNAVAILABLE",
90578
+ "TRACKED_MODE_UNAVAILABLE",
90579
+ "DRY_RUN_UNAVAILABLE",
90580
+ "NAMESPACE_UNAVAILABLE",
90581
+ "STYLES_PART_MISSING",
90582
+ "COLLABORATION_ACTIVE"
90583
+ ]
90584
+ }
90585
+ }
90586
+ },
90587
+ "additionalProperties": false,
90588
+ "required": [
90589
+ "available",
90590
+ "tracked",
90591
+ "dryRun"
90592
+ ]
90593
+ },
90594
+ "customXml.parts.remove": {
90595
+ "type": "object",
90596
+ "properties": {
90597
+ "available": {
90598
+ "type": "boolean"
90599
+ },
90600
+ "tracked": {
90601
+ "type": "boolean"
90602
+ },
90603
+ "dryRun": {
90604
+ "type": "boolean"
90605
+ },
90606
+ "reasons": {
90607
+ "type": "array",
90608
+ "items": {
90609
+ "enum": [
90610
+ "COMMAND_UNAVAILABLE",
90611
+ "HELPER_UNAVAILABLE",
90612
+ "OPERATION_UNAVAILABLE",
90613
+ "TRACKED_MODE_UNAVAILABLE",
90614
+ "DRY_RUN_UNAVAILABLE",
90615
+ "NAMESPACE_UNAVAILABLE",
90616
+ "STYLES_PART_MISSING",
90617
+ "COLLABORATION_ACTIVE"
90618
+ ]
90619
+ }
90620
+ }
90621
+ },
90622
+ "additionalProperties": false,
90623
+ "required": [
90624
+ "available",
90625
+ "tracked",
90626
+ "dryRun"
90627
+ ]
90453
90628
  }
90454
90629
  },
90455
90630
  "additionalProperties": false,
@@ -90845,7 +91020,12 @@ const CONTRACT = {
90845
91020
  "permissionRanges.get",
90846
91021
  "permissionRanges.create",
90847
91022
  "permissionRanges.remove",
90848
- "permissionRanges.updatePrincipal"
91023
+ "permissionRanges.updatePrincipal",
91024
+ "customXml.parts.list",
91025
+ "customXml.parts.get",
91026
+ "customXml.parts.create",
91027
+ "customXml.parts.patch",
91028
+ "customXml.parts.remove"
90849
91029
  ]
90850
91030
  },
90851
91031
  "planEngine": {
@@ -151745,6 +151925,1075 @@ const CONTRACT = {
151745
151925
  },
151746
151926
  "skipAsATool": true
151747
151927
  },
151928
+ "doc.customXml.parts.list": {
151929
+ "operationId": "doc.customXml.parts.list",
151930
+ "sdkSurface": "document",
151931
+ "command": "custom-xml parts list",
151932
+ "commandTokens": [
151933
+ "custom-xml",
151934
+ "parts",
151935
+ "list"
151936
+ ],
151937
+ "category": "core",
151938
+ "description": "List Custom XML Data Storage Parts in the document, optionally filtered by root namespace or schema reference.",
151939
+ "requiresDocumentContext": true,
151940
+ "docRequirement": "optional",
151941
+ "responseEnvelopeKey": null,
151942
+ "params": [
151943
+ {
151944
+ "name": "doc",
151945
+ "kind": "doc",
151946
+ "type": "string",
151947
+ "description": "Document path. Optional when a session is already open."
151948
+ },
151949
+ {
151950
+ "name": "sessionId",
151951
+ "kind": "flag",
151952
+ "type": "string",
151953
+ "flag": "session",
151954
+ "description": "Session ID for multi-session workflows. Optional when only one session is open."
151955
+ },
151956
+ {
151957
+ "name": "limit",
151958
+ "kind": "flag",
151959
+ "type": "number"
151960
+ },
151961
+ {
151962
+ "name": "offset",
151963
+ "kind": "flag",
151964
+ "type": "number"
151965
+ },
151966
+ {
151967
+ "name": "rootNamespace",
151968
+ "kind": "flag",
151969
+ "type": "string",
151970
+ "flag": "root-namespace"
151971
+ },
151972
+ {
151973
+ "name": "schemaRef",
151974
+ "kind": "flag",
151975
+ "type": "string",
151976
+ "flag": "schema-ref"
151977
+ }
151978
+ ],
151979
+ "constraints": null,
151980
+ "mutates": false,
151981
+ "idempotency": "idempotent",
151982
+ "supportsTrackedMode": false,
151983
+ "supportsDryRun": false,
151984
+ "inputSchema": {
151985
+ "type": "object",
151986
+ "properties": {
151987
+ "limit": {
151988
+ "type": "integer",
151989
+ "minimum": 1
151990
+ },
151991
+ "offset": {
151992
+ "type": "integer",
151993
+ "minimum": 0
151994
+ },
151995
+ "rootNamespace": {
151996
+ "type": "string"
151997
+ },
151998
+ "schemaRef": {
151999
+ "type": "string"
152000
+ }
152001
+ },
152002
+ "additionalProperties": false
152003
+ },
152004
+ "outputSchema": {
152005
+ "type": "object"
152006
+ }
152007
+ },
152008
+ "doc.customXml.parts.get": {
152009
+ "operationId": "doc.customXml.parts.get",
152010
+ "sdkSurface": "document",
152011
+ "command": "custom-xml parts get",
152012
+ "commandTokens": [
152013
+ "custom-xml",
152014
+ "parts",
152015
+ "get"
152016
+ ],
152017
+ "category": "core",
152018
+ "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.",
152019
+ "requiresDocumentContext": true,
152020
+ "docRequirement": "optional",
152021
+ "responseEnvelopeKey": null,
152022
+ "params": [
152023
+ {
152024
+ "name": "doc",
152025
+ "kind": "doc",
152026
+ "type": "string",
152027
+ "description": "Document path. Optional when a session is already open."
152028
+ },
152029
+ {
152030
+ "name": "sessionId",
152031
+ "kind": "flag",
152032
+ "type": "string",
152033
+ "flag": "session",
152034
+ "description": "Session ID for multi-session workflows. Optional when only one session is open."
152035
+ },
152036
+ {
152037
+ "name": "target",
152038
+ "kind": "jsonFlag",
152039
+ "type": "json",
152040
+ "flag": "target-json",
152041
+ "required": true,
152042
+ "schema": {
152043
+ "oneOf": [
152044
+ {
152045
+ "type": "object",
152046
+ "properties": {
152047
+ "id": {
152048
+ "type": "string"
152049
+ }
152050
+ },
152051
+ "required": [
152052
+ "id"
152053
+ ]
152054
+ },
152055
+ {
152056
+ "type": "object",
152057
+ "properties": {
152058
+ "partName": {
152059
+ "type": "string"
152060
+ }
152061
+ },
152062
+ "required": [
152063
+ "partName"
152064
+ ]
152065
+ }
152066
+ ]
152067
+ }
152068
+ }
152069
+ ],
152070
+ "constraints": null,
152071
+ "mutates": false,
152072
+ "idempotency": "idempotent",
152073
+ "supportsTrackedMode": false,
152074
+ "supportsDryRun": false,
152075
+ "inputSchema": {
152076
+ "type": "object",
152077
+ "properties": {
152078
+ "target": {
152079
+ "oneOf": [
152080
+ {
152081
+ "type": "object",
152082
+ "properties": {
152083
+ "id": {
152084
+ "type": "string",
152085
+ "minLength": 1
152086
+ }
152087
+ },
152088
+ "additionalProperties": false,
152089
+ "required": [
152090
+ "id"
152091
+ ]
152092
+ },
152093
+ {
152094
+ "type": "object",
152095
+ "properties": {
152096
+ "partName": {
152097
+ "type": "string",
152098
+ "minLength": 1
152099
+ }
152100
+ },
152101
+ "additionalProperties": false,
152102
+ "required": [
152103
+ "partName"
152104
+ ]
152105
+ }
152106
+ ]
152107
+ }
152108
+ },
152109
+ "additionalProperties": false,
152110
+ "required": [
152111
+ "target"
152112
+ ]
152113
+ },
152114
+ "outputSchema": {
152115
+ "oneOf": [
152116
+ {
152117
+ "type": "object"
152118
+ },
152119
+ {
152120
+ "type": "null"
152121
+ }
152122
+ ]
152123
+ }
152124
+ },
152125
+ "doc.customXml.parts.create": {
152126
+ "operationId": "doc.customXml.parts.create",
152127
+ "sdkSurface": "document",
152128
+ "command": "custom-xml parts create",
152129
+ "commandTokens": [
152130
+ "custom-xml",
152131
+ "parts",
152132
+ "create"
152133
+ ],
152134
+ "category": "core",
152135
+ "description": "Add a new Custom XML Data Storage Part to the document. Generates a fresh itemID GUID and emits the Properties Part.",
152136
+ "requiresDocumentContext": true,
152137
+ "docRequirement": "optional",
152138
+ "responseEnvelopeKey": null,
152139
+ "params": [
152140
+ {
152141
+ "name": "doc",
152142
+ "kind": "doc",
152143
+ "type": "string",
152144
+ "description": "Document path. Optional when a session is already open."
152145
+ },
152146
+ {
152147
+ "name": "sessionId",
152148
+ "kind": "flag",
152149
+ "type": "string",
152150
+ "flag": "session",
152151
+ "description": "Session ID for multi-session workflows. Optional when only one session is open."
152152
+ },
152153
+ {
152154
+ "name": "out",
152155
+ "kind": "flag",
152156
+ "type": "string",
152157
+ "agentVisible": false
152158
+ },
152159
+ {
152160
+ "name": "force",
152161
+ "kind": "flag",
152162
+ "type": "boolean",
152163
+ "description": "Bypass confirmation checks."
152164
+ },
152165
+ {
152166
+ "name": "expectedRevision",
152167
+ "kind": "flag",
152168
+ "type": "number",
152169
+ "flag": "expected-revision",
152170
+ "agentVisible": false
152171
+ },
152172
+ {
152173
+ "name": "changeMode",
152174
+ "kind": "flag",
152175
+ "type": "string",
152176
+ "flag": "change-mode",
152177
+ "schema": {
152178
+ "enum": [
152179
+ "direct",
152180
+ "tracked"
152181
+ ]
152182
+ },
152183
+ "description": "Edit mode: \"direct\" applies changes immediately, \"tracked\" records as suggestions."
152184
+ },
152185
+ {
152186
+ "name": "dryRun",
152187
+ "kind": "flag",
152188
+ "type": "boolean",
152189
+ "flag": "dry-run",
152190
+ "description": "Preview the result without applying changes."
152191
+ },
152192
+ {
152193
+ "name": "content",
152194
+ "kind": "flag",
152195
+ "type": "string",
152196
+ "required": true
152197
+ },
152198
+ {
152199
+ "name": "schemaRefs",
152200
+ "kind": "flag",
152201
+ "type": "string[]",
152202
+ "flag": "schema-refs",
152203
+ "schema": {
152204
+ "type": "array",
152205
+ "items": {
152206
+ "type": "string"
152207
+ }
152208
+ }
152209
+ }
152210
+ ],
152211
+ "constraints": null,
152212
+ "mutates": true,
152213
+ "idempotency": "non-idempotent",
152214
+ "supportsTrackedMode": false,
152215
+ "supportsDryRun": true,
152216
+ "inputSchema": {
152217
+ "type": "object",
152218
+ "properties": {
152219
+ "content": {
152220
+ "type": "string",
152221
+ "minLength": 1
152222
+ },
152223
+ "schemaRefs": {
152224
+ "type": "array",
152225
+ "items": {
152226
+ "type": "string",
152227
+ "minLength": 1
152228
+ }
152229
+ }
152230
+ },
152231
+ "additionalProperties": false,
152232
+ "required": [
152233
+ "content"
152234
+ ]
152235
+ },
152236
+ "outputSchema": {
152237
+ "oneOf": [
152238
+ {
152239
+ "type": "object",
152240
+ "properties": {
152241
+ "success": {
152242
+ "const": true
152243
+ },
152244
+ "id": {
152245
+ "type": "string"
152246
+ },
152247
+ "partName": {
152248
+ "type": "string"
152249
+ },
152250
+ "propsPartName": {
152251
+ "type": "string"
152252
+ }
152253
+ },
152254
+ "additionalProperties": false,
152255
+ "required": [
152256
+ "success",
152257
+ "id",
152258
+ "partName",
152259
+ "propsPartName"
152260
+ ]
152261
+ },
152262
+ {
152263
+ "type": "object",
152264
+ "properties": {
152265
+ "success": {
152266
+ "const": false
152267
+ },
152268
+ "failure": {
152269
+ "type": "object",
152270
+ "properties": {
152271
+ "code": {
152272
+ "type": "string"
152273
+ },
152274
+ "message": {
152275
+ "type": "string"
152276
+ },
152277
+ "details": {}
152278
+ },
152279
+ "additionalProperties": false,
152280
+ "required": [
152281
+ "code",
152282
+ "message"
152283
+ ]
152284
+ }
152285
+ },
152286
+ "additionalProperties": false,
152287
+ "required": [
152288
+ "success",
152289
+ "failure"
152290
+ ]
152291
+ }
152292
+ ]
152293
+ },
152294
+ "successSchema": {
152295
+ "type": "object",
152296
+ "properties": {
152297
+ "success": {
152298
+ "const": true
152299
+ },
152300
+ "id": {
152301
+ "type": "string"
152302
+ },
152303
+ "partName": {
152304
+ "type": "string"
152305
+ },
152306
+ "propsPartName": {
152307
+ "type": "string"
152308
+ }
152309
+ },
152310
+ "additionalProperties": false,
152311
+ "required": [
152312
+ "success",
152313
+ "id",
152314
+ "partName",
152315
+ "propsPartName"
152316
+ ]
152317
+ },
152318
+ "failureSchema": {
152319
+ "type": "object",
152320
+ "properties": {
152321
+ "success": {
152322
+ "const": false
152323
+ },
152324
+ "failure": {
152325
+ "type": "object",
152326
+ "properties": {
152327
+ "code": {
152328
+ "type": "string"
152329
+ },
152330
+ "message": {
152331
+ "type": "string"
152332
+ },
152333
+ "details": {}
152334
+ },
152335
+ "additionalProperties": false,
152336
+ "required": [
152337
+ "code",
152338
+ "message"
152339
+ ]
152340
+ }
152341
+ },
152342
+ "additionalProperties": false,
152343
+ "required": [
152344
+ "success",
152345
+ "failure"
152346
+ ]
152347
+ }
152348
+ },
152349
+ "doc.customXml.parts.patch": {
152350
+ "operationId": "doc.customXml.parts.patch",
152351
+ "sdkSurface": "document",
152352
+ "command": "custom-xml parts patch",
152353
+ "commandTokens": [
152354
+ "custom-xml",
152355
+ "parts",
152356
+ "patch"
152357
+ ],
152358
+ "category": "core",
152359
+ "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.",
152360
+ "requiresDocumentContext": true,
152361
+ "docRequirement": "optional",
152362
+ "responseEnvelopeKey": null,
152363
+ "params": [
152364
+ {
152365
+ "name": "doc",
152366
+ "kind": "doc",
152367
+ "type": "string",
152368
+ "description": "Document path. Optional when a session is already open."
152369
+ },
152370
+ {
152371
+ "name": "sessionId",
152372
+ "kind": "flag",
152373
+ "type": "string",
152374
+ "flag": "session",
152375
+ "description": "Session ID for multi-session workflows. Optional when only one session is open."
152376
+ },
152377
+ {
152378
+ "name": "out",
152379
+ "kind": "flag",
152380
+ "type": "string",
152381
+ "agentVisible": false
152382
+ },
152383
+ {
152384
+ "name": "force",
152385
+ "kind": "flag",
152386
+ "type": "boolean",
152387
+ "description": "Bypass confirmation checks."
152388
+ },
152389
+ {
152390
+ "name": "expectedRevision",
152391
+ "kind": "flag",
152392
+ "type": "number",
152393
+ "flag": "expected-revision",
152394
+ "agentVisible": false
152395
+ },
152396
+ {
152397
+ "name": "changeMode",
152398
+ "kind": "flag",
152399
+ "type": "string",
152400
+ "flag": "change-mode",
152401
+ "schema": {
152402
+ "enum": [
152403
+ "direct",
152404
+ "tracked"
152405
+ ]
152406
+ },
152407
+ "description": "Edit mode: \"direct\" applies changes immediately, \"tracked\" records as suggestions."
152408
+ },
152409
+ {
152410
+ "name": "dryRun",
152411
+ "kind": "flag",
152412
+ "type": "boolean",
152413
+ "flag": "dry-run",
152414
+ "description": "Preview the result without applying changes."
152415
+ },
152416
+ {
152417
+ "name": "target",
152418
+ "kind": "jsonFlag",
152419
+ "type": "json",
152420
+ "flag": "target-json",
152421
+ "required": true,
152422
+ "schema": {
152423
+ "oneOf": [
152424
+ {
152425
+ "type": "object",
152426
+ "properties": {
152427
+ "id": {
152428
+ "type": "string"
152429
+ }
152430
+ },
152431
+ "required": [
152432
+ "id"
152433
+ ]
152434
+ },
152435
+ {
152436
+ "type": "object",
152437
+ "properties": {
152438
+ "partName": {
152439
+ "type": "string"
152440
+ }
152441
+ },
152442
+ "required": [
152443
+ "partName"
152444
+ ]
152445
+ }
152446
+ ]
152447
+ }
152448
+ },
152449
+ {
152450
+ "name": "content",
152451
+ "kind": "flag",
152452
+ "type": "string"
152453
+ },
152454
+ {
152455
+ "name": "schemaRefs",
152456
+ "kind": "flag",
152457
+ "type": "string[]",
152458
+ "flag": "schema-refs",
152459
+ "schema": {
152460
+ "type": "array",
152461
+ "items": {
152462
+ "type": "string"
152463
+ }
152464
+ }
152465
+ }
152466
+ ],
152467
+ "constraints": null,
152468
+ "mutates": true,
152469
+ "idempotency": "idempotent",
152470
+ "supportsTrackedMode": false,
152471
+ "supportsDryRun": true,
152472
+ "inputSchema": {
152473
+ "type": "object",
152474
+ "properties": {
152475
+ "target": {
152476
+ "oneOf": [
152477
+ {
152478
+ "type": "object",
152479
+ "properties": {
152480
+ "id": {
152481
+ "type": "string",
152482
+ "minLength": 1
152483
+ }
152484
+ },
152485
+ "additionalProperties": false,
152486
+ "required": [
152487
+ "id"
152488
+ ]
152489
+ },
152490
+ {
152491
+ "type": "object",
152492
+ "properties": {
152493
+ "partName": {
152494
+ "type": "string",
152495
+ "minLength": 1
152496
+ }
152497
+ },
152498
+ "additionalProperties": false,
152499
+ "required": [
152500
+ "partName"
152501
+ ]
152502
+ }
152503
+ ]
152504
+ },
152505
+ "content": {
152506
+ "type": "string",
152507
+ "minLength": 1
152508
+ },
152509
+ "schemaRefs": {
152510
+ "type": "array",
152511
+ "items": {
152512
+ "type": "string",
152513
+ "minLength": 1
152514
+ }
152515
+ }
152516
+ },
152517
+ "required": [
152518
+ "target"
152519
+ ],
152520
+ "anyOf": [
152521
+ {
152522
+ "required": [
152523
+ "content"
152524
+ ]
152525
+ },
152526
+ {
152527
+ "required": [
152528
+ "schemaRefs"
152529
+ ]
152530
+ }
152531
+ ],
152532
+ "additionalProperties": false
152533
+ },
152534
+ "outputSchema": {
152535
+ "oneOf": [
152536
+ {
152537
+ "type": "object",
152538
+ "properties": {
152539
+ "success": {
152540
+ "const": true
152541
+ },
152542
+ "target": {
152543
+ "oneOf": [
152544
+ {
152545
+ "type": "object",
152546
+ "properties": {
152547
+ "id": {
152548
+ "type": "string",
152549
+ "minLength": 1
152550
+ }
152551
+ },
152552
+ "additionalProperties": false,
152553
+ "required": [
152554
+ "id"
152555
+ ]
152556
+ },
152557
+ {
152558
+ "type": "object",
152559
+ "properties": {
152560
+ "partName": {
152561
+ "type": "string",
152562
+ "minLength": 1
152563
+ }
152564
+ },
152565
+ "additionalProperties": false,
152566
+ "required": [
152567
+ "partName"
152568
+ ]
152569
+ }
152570
+ ]
152571
+ },
152572
+ "id": {
152573
+ "type": "string",
152574
+ "minLength": 1
152575
+ }
152576
+ },
152577
+ "additionalProperties": false,
152578
+ "required": [
152579
+ "success",
152580
+ "target"
152581
+ ]
152582
+ },
152583
+ {
152584
+ "type": "object",
152585
+ "properties": {
152586
+ "success": {
152587
+ "const": false
152588
+ },
152589
+ "failure": {
152590
+ "type": "object",
152591
+ "properties": {
152592
+ "code": {
152593
+ "type": "string"
152594
+ },
152595
+ "message": {
152596
+ "type": "string"
152597
+ },
152598
+ "details": {}
152599
+ },
152600
+ "additionalProperties": false,
152601
+ "required": [
152602
+ "code",
152603
+ "message"
152604
+ ]
152605
+ }
152606
+ },
152607
+ "additionalProperties": false,
152608
+ "required": [
152609
+ "success",
152610
+ "failure"
152611
+ ]
152612
+ }
152613
+ ]
152614
+ },
152615
+ "successSchema": {
152616
+ "type": "object",
152617
+ "properties": {
152618
+ "success": {
152619
+ "const": true
152620
+ },
152621
+ "target": {
152622
+ "oneOf": [
152623
+ {
152624
+ "type": "object",
152625
+ "properties": {
152626
+ "id": {
152627
+ "type": "string",
152628
+ "minLength": 1
152629
+ }
152630
+ },
152631
+ "additionalProperties": false,
152632
+ "required": [
152633
+ "id"
152634
+ ]
152635
+ },
152636
+ {
152637
+ "type": "object",
152638
+ "properties": {
152639
+ "partName": {
152640
+ "type": "string",
152641
+ "minLength": 1
152642
+ }
152643
+ },
152644
+ "additionalProperties": false,
152645
+ "required": [
152646
+ "partName"
152647
+ ]
152648
+ }
152649
+ ]
152650
+ },
152651
+ "id": {
152652
+ "type": "string",
152653
+ "minLength": 1
152654
+ }
152655
+ },
152656
+ "additionalProperties": false,
152657
+ "required": [
152658
+ "success",
152659
+ "target"
152660
+ ]
152661
+ },
152662
+ "failureSchema": {
152663
+ "type": "object",
152664
+ "properties": {
152665
+ "success": {
152666
+ "const": false
152667
+ },
152668
+ "failure": {
152669
+ "type": "object",
152670
+ "properties": {
152671
+ "code": {
152672
+ "type": "string"
152673
+ },
152674
+ "message": {
152675
+ "type": "string"
152676
+ },
152677
+ "details": {}
152678
+ },
152679
+ "additionalProperties": false,
152680
+ "required": [
152681
+ "code",
152682
+ "message"
152683
+ ]
152684
+ }
152685
+ },
152686
+ "additionalProperties": false,
152687
+ "required": [
152688
+ "success",
152689
+ "failure"
152690
+ ]
152691
+ }
152692
+ },
152693
+ "doc.customXml.parts.remove": {
152694
+ "operationId": "doc.customXml.parts.remove",
152695
+ "sdkSurface": "document",
152696
+ "command": "custom-xml parts remove",
152697
+ "commandTokens": [
152698
+ "custom-xml",
152699
+ "parts",
152700
+ "remove"
152701
+ ],
152702
+ "category": "core",
152703
+ "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.",
152704
+ "requiresDocumentContext": true,
152705
+ "docRequirement": "optional",
152706
+ "responseEnvelopeKey": null,
152707
+ "params": [
152708
+ {
152709
+ "name": "doc",
152710
+ "kind": "doc",
152711
+ "type": "string",
152712
+ "description": "Document path. Optional when a session is already open."
152713
+ },
152714
+ {
152715
+ "name": "sessionId",
152716
+ "kind": "flag",
152717
+ "type": "string",
152718
+ "flag": "session",
152719
+ "description": "Session ID for multi-session workflows. Optional when only one session is open."
152720
+ },
152721
+ {
152722
+ "name": "out",
152723
+ "kind": "flag",
152724
+ "type": "string",
152725
+ "agentVisible": false
152726
+ },
152727
+ {
152728
+ "name": "force",
152729
+ "kind": "flag",
152730
+ "type": "boolean",
152731
+ "description": "Bypass confirmation checks."
152732
+ },
152733
+ {
152734
+ "name": "expectedRevision",
152735
+ "kind": "flag",
152736
+ "type": "number",
152737
+ "flag": "expected-revision",
152738
+ "agentVisible": false
152739
+ },
152740
+ {
152741
+ "name": "changeMode",
152742
+ "kind": "flag",
152743
+ "type": "string",
152744
+ "flag": "change-mode",
152745
+ "schema": {
152746
+ "enum": [
152747
+ "direct",
152748
+ "tracked"
152749
+ ]
152750
+ },
152751
+ "description": "Edit mode: \"direct\" applies changes immediately, \"tracked\" records as suggestions."
152752
+ },
152753
+ {
152754
+ "name": "dryRun",
152755
+ "kind": "flag",
152756
+ "type": "boolean",
152757
+ "flag": "dry-run",
152758
+ "description": "Preview the result without applying changes."
152759
+ },
152760
+ {
152761
+ "name": "target",
152762
+ "kind": "jsonFlag",
152763
+ "type": "json",
152764
+ "flag": "target-json",
152765
+ "required": true,
152766
+ "schema": {
152767
+ "oneOf": [
152768
+ {
152769
+ "type": "object",
152770
+ "properties": {
152771
+ "id": {
152772
+ "type": "string"
152773
+ }
152774
+ },
152775
+ "required": [
152776
+ "id"
152777
+ ]
152778
+ },
152779
+ {
152780
+ "type": "object",
152781
+ "properties": {
152782
+ "partName": {
152783
+ "type": "string"
152784
+ }
152785
+ },
152786
+ "required": [
152787
+ "partName"
152788
+ ]
152789
+ }
152790
+ ]
152791
+ }
152792
+ }
152793
+ ],
152794
+ "constraints": null,
152795
+ "mutates": true,
152796
+ "idempotency": "non-idempotent",
152797
+ "supportsTrackedMode": false,
152798
+ "supportsDryRun": true,
152799
+ "inputSchema": {
152800
+ "type": "object",
152801
+ "properties": {
152802
+ "target": {
152803
+ "oneOf": [
152804
+ {
152805
+ "type": "object",
152806
+ "properties": {
152807
+ "id": {
152808
+ "type": "string",
152809
+ "minLength": 1
152810
+ }
152811
+ },
152812
+ "additionalProperties": false,
152813
+ "required": [
152814
+ "id"
152815
+ ]
152816
+ },
152817
+ {
152818
+ "type": "object",
152819
+ "properties": {
152820
+ "partName": {
152821
+ "type": "string",
152822
+ "minLength": 1
152823
+ }
152824
+ },
152825
+ "additionalProperties": false,
152826
+ "required": [
152827
+ "partName"
152828
+ ]
152829
+ }
152830
+ ]
152831
+ }
152832
+ },
152833
+ "additionalProperties": false,
152834
+ "required": [
152835
+ "target"
152836
+ ]
152837
+ },
152838
+ "outputSchema": {
152839
+ "oneOf": [
152840
+ {
152841
+ "type": "object",
152842
+ "properties": {
152843
+ "success": {
152844
+ "const": true
152845
+ },
152846
+ "target": {
152847
+ "oneOf": [
152848
+ {
152849
+ "type": "object",
152850
+ "properties": {
152851
+ "id": {
152852
+ "type": "string",
152853
+ "minLength": 1
152854
+ }
152855
+ },
152856
+ "additionalProperties": false,
152857
+ "required": [
152858
+ "id"
152859
+ ]
152860
+ },
152861
+ {
152862
+ "type": "object",
152863
+ "properties": {
152864
+ "partName": {
152865
+ "type": "string",
152866
+ "minLength": 1
152867
+ }
152868
+ },
152869
+ "additionalProperties": false,
152870
+ "required": [
152871
+ "partName"
152872
+ ]
152873
+ }
152874
+ ]
152875
+ },
152876
+ "id": {
152877
+ "type": "string",
152878
+ "minLength": 1
152879
+ }
152880
+ },
152881
+ "additionalProperties": false,
152882
+ "required": [
152883
+ "success",
152884
+ "target"
152885
+ ]
152886
+ },
152887
+ {
152888
+ "type": "object",
152889
+ "properties": {
152890
+ "success": {
152891
+ "const": false
152892
+ },
152893
+ "failure": {
152894
+ "type": "object",
152895
+ "properties": {
152896
+ "code": {
152897
+ "type": "string"
152898
+ },
152899
+ "message": {
152900
+ "type": "string"
152901
+ },
152902
+ "details": {}
152903
+ },
152904
+ "additionalProperties": false,
152905
+ "required": [
152906
+ "code",
152907
+ "message"
152908
+ ]
152909
+ }
152910
+ },
152911
+ "additionalProperties": false,
152912
+ "required": [
152913
+ "success",
152914
+ "failure"
152915
+ ]
152916
+ }
152917
+ ]
152918
+ },
152919
+ "successSchema": {
152920
+ "type": "object",
152921
+ "properties": {
152922
+ "success": {
152923
+ "const": true
152924
+ },
152925
+ "target": {
152926
+ "oneOf": [
152927
+ {
152928
+ "type": "object",
152929
+ "properties": {
152930
+ "id": {
152931
+ "type": "string",
152932
+ "minLength": 1
152933
+ }
152934
+ },
152935
+ "additionalProperties": false,
152936
+ "required": [
152937
+ "id"
152938
+ ]
152939
+ },
152940
+ {
152941
+ "type": "object",
152942
+ "properties": {
152943
+ "partName": {
152944
+ "type": "string",
152945
+ "minLength": 1
152946
+ }
152947
+ },
152948
+ "additionalProperties": false,
152949
+ "required": [
152950
+ "partName"
152951
+ ]
152952
+ }
152953
+ ]
152954
+ },
152955
+ "id": {
152956
+ "type": "string",
152957
+ "minLength": 1
152958
+ }
152959
+ },
152960
+ "additionalProperties": false,
152961
+ "required": [
152962
+ "success",
152963
+ "target"
152964
+ ]
152965
+ },
152966
+ "failureSchema": {
152967
+ "type": "object",
152968
+ "properties": {
152969
+ "success": {
152970
+ "const": false
152971
+ },
152972
+ "failure": {
152973
+ "type": "object",
152974
+ "properties": {
152975
+ "code": {
152976
+ "type": "string"
152977
+ },
152978
+ "message": {
152979
+ "type": "string"
152980
+ },
152981
+ "details": {}
152982
+ },
152983
+ "additionalProperties": false,
152984
+ "required": [
152985
+ "code",
152986
+ "message"
152987
+ ]
152988
+ }
152989
+ },
152990
+ "additionalProperties": false,
152991
+ "required": [
152992
+ "success",
152993
+ "failure"
152994
+ ]
152995
+ }
152996
+ },
151748
152997
  "doc.open": {
151749
152998
  "operationId": "doc.open",
151750
152999
  "sdkSurface": "client",