@cloudcart/dev-mcp 0.2.11 → 0.2.12

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/data/admin.json CHANGED
@@ -21608,6 +21608,33 @@
21608
21608
  "isDeprecated": false,
21609
21609
  "deprecationReason": null
21610
21610
  },
21611
+ {
21612
+ "name": "bulkOperationCancel",
21613
+ "description": "Cancel an in-flight bulk operation. Works for both backings:\n- Mongo-tracked productsBulk* jobs (productsBulkSetActive, BulkDuplicate, …): marks the `bulk_operations` doc as CANCELLED so the worker stops at the next chunk boundary. Already-processed records are kept (no rollback).\n- JsonImport-tracked productsBulkCreate jobs: deletes all pending SiteQueue + GlobalImportRecords rows so no further products are created, and marks the JsonImport row as cancelled. Products already created stay.\n\nIdempotent — calling on a job that's already in a terminal state (COMPLETED / FAILED / CANCELLED) is a no-op that returns the current status.\n\nReturns the same payload shape as `bulkOperationStatus(jobId)` so callers can read the final counts immediately.",
21614
+ "args": [
21615
+ {
21616
+ "name": "jobId",
21617
+ "description": "Job id originally returned by any `productsBulk*` mutation.",
21618
+ "type": {
21619
+ "kind": "NON_NULL",
21620
+ "name": null,
21621
+ "ofType": {
21622
+ "kind": "SCALAR",
21623
+ "name": "ID",
21624
+ "ofType": null
21625
+ }
21626
+ },
21627
+ "defaultValue": null
21628
+ }
21629
+ ],
21630
+ "type": {
21631
+ "kind": "OBJECT",
21632
+ "name": "BulkOperationStatus",
21633
+ "ofType": null
21634
+ },
21635
+ "isDeprecated": false,
21636
+ "deprecationReason": null
21637
+ },
21611
21638
  {
21612
21639
  "name": "createCustomer",
21613
21640
  "description": "Create a new customer.",
@@ -49786,6 +49813,12 @@
49786
49813
  "description": "Worker hit a fatal error before finishing.",
49787
49814
  "isDeprecated": false,
49788
49815
  "deprecationReason": null
49816
+ },
49817
+ {
49818
+ "name": "CANCELLED",
49819
+ "description": "Job was cancelled by a caller via `bulkOperationCancel(jobId)`. Already-processed work stays — only pending records are removed.",
49820
+ "isDeprecated": false,
49821
+ "deprecationReason": null
49789
49822
  }
49790
49823
  ],
49791
49824
  "possibleTypes": null
Binary file