@cloudcart/dev-mcp 0.2.20 → 0.2.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/data/admin.json CHANGED
@@ -2599,6 +2599,132 @@
2599
2599
  "isDeprecated": false,
2600
2600
  "deprecationReason": null
2601
2601
  },
2602
+ {
2603
+ "name": "externalMetaData",
2604
+ "description": "External-metadata mapping (table `meta_data`) — what external key an\nintegration recorded for a CloudCart record, and vice-versa. Filter by\nrecord (recordType + recordId) to see what e.g. Microinvest stored for a\nproduct/variant, by externalRecordKey to find which record an external id\nmaps to, and/or by integration to scope to one source. Per-site data.",
2605
+ "args": [
2606
+ {
2607
+ "name": "recordType",
2608
+ "description": "CloudCart record type, e.g. \"product\" or \"variant\".",
2609
+ "type": {
2610
+ "kind": "SCALAR",
2611
+ "name": "String",
2612
+ "ofType": null
2613
+ },
2614
+ "defaultValue": null,
2615
+ "isDeprecated": false,
2616
+ "deprecationReason": null
2617
+ },
2618
+ {
2619
+ "name": "recordId",
2620
+ "description": "CloudCart record id.",
2621
+ "type": {
2622
+ "kind": "SCALAR",
2623
+ "name": "ID",
2624
+ "ofType": null
2625
+ },
2626
+ "defaultValue": null,
2627
+ "isDeprecated": false,
2628
+ "deprecationReason": null
2629
+ },
2630
+ {
2631
+ "name": "integration",
2632
+ "description": "Source integration, e.g. \"microinvest\" (see externalMetaIntegrations for valid values).",
2633
+ "type": {
2634
+ "kind": "SCALAR",
2635
+ "name": "String",
2636
+ "ofType": null
2637
+ },
2638
+ "defaultValue": null,
2639
+ "isDeprecated": false,
2640
+ "deprecationReason": null
2641
+ },
2642
+ {
2643
+ "name": "externalRecordKey",
2644
+ "description": "External key/id to look up (reverse lookup: external id → CloudCart record).",
2645
+ "type": {
2646
+ "kind": "SCALAR",
2647
+ "name": "String",
2648
+ "ofType": null
2649
+ },
2650
+ "defaultValue": null,
2651
+ "isDeprecated": false,
2652
+ "deprecationReason": null
2653
+ },
2654
+ {
2655
+ "name": "first",
2656
+ "description": "Results per page.",
2657
+ "type": {
2658
+ "kind": "SCALAR",
2659
+ "name": "Int",
2660
+ "ofType": null
2661
+ },
2662
+ "defaultValue": "25",
2663
+ "isDeprecated": false,
2664
+ "deprecationReason": null
2665
+ },
2666
+ {
2667
+ "name": "page",
2668
+ "description": "Page number (1-based).",
2669
+ "type": {
2670
+ "kind": "SCALAR",
2671
+ "name": "Int",
2672
+ "ofType": null
2673
+ },
2674
+ "defaultValue": "1",
2675
+ "isDeprecated": false,
2676
+ "deprecationReason": null
2677
+ }
2678
+ ],
2679
+ "type": {
2680
+ "kind": "NON_NULL",
2681
+ "name": null,
2682
+ "ofType": {
2683
+ "kind": "OBJECT",
2684
+ "name": "ExternalMetaDataConnection",
2685
+ "ofType": null
2686
+ }
2687
+ },
2688
+ "isDeprecated": false,
2689
+ "deprecationReason": null
2690
+ },
2691
+ {
2692
+ "name": "externalMetaIntegrations",
2693
+ "description": "Distinct `integration` values currently present in this store's meta_data.\nThe `integration` field is free-form (written per app: installed app\nmappings like \"microinvest\", \"internal\", shipping provider keys, ...), so\nthis is the data-driven way to discover what can appear there for this store.",
2694
+ "args": [
2695
+ {
2696
+ "name": "recordType",
2697
+ "description": "Optional record type to scope to, e.g. 'product' (recommended for source discovery). integration is overloaded: for product/variant rows it is the source app; for option rows it holds the option key, for images 'url_image'.",
2698
+ "type": {
2699
+ "kind": "SCALAR",
2700
+ "name": "String",
2701
+ "ofType": null
2702
+ },
2703
+ "defaultValue": null,
2704
+ "isDeprecated": false,
2705
+ "deprecationReason": null
2706
+ }
2707
+ ],
2708
+ "type": {
2709
+ "kind": "NON_NULL",
2710
+ "name": null,
2711
+ "ofType": {
2712
+ "kind": "LIST",
2713
+ "name": null,
2714
+ "ofType": {
2715
+ "kind": "NON_NULL",
2716
+ "name": null,
2717
+ "ofType": {
2718
+ "kind": "SCALAR",
2719
+ "name": "String",
2720
+ "ofType": null
2721
+ }
2722
+ }
2723
+ }
2724
+ },
2725
+ "isDeprecated": false,
2726
+ "deprecationReason": null
2727
+ },
2602
2728
  {
2603
2729
  "name": "customer",
2604
2730
  "description": "Find a single customer by ID.",
@@ -10263,6 +10389,18 @@
10263
10389
  "isDeprecated": false,
10264
10390
  "deprecationReason": null
10265
10391
  },
10392
+ {
10393
+ "name": "parentId",
10394
+ "description": "Parent task ID. Omit for top-level tasks; pass a task id to list its children (the Tasks tab is a parent → children tree).",
10395
+ "type": {
10396
+ "kind": "SCALAR",
10397
+ "name": "ID",
10398
+ "ofType": null
10399
+ },
10400
+ "defaultValue": null,
10401
+ "isDeprecated": false,
10402
+ "deprecationReason": null
10403
+ },
10266
10404
  {
10267
10405
  "name": "first",
10268
10406
  "description": "Results per page.",
@@ -10296,6 +10434,51 @@
10296
10434
  "isDeprecated": false,
10297
10435
  "deprecationReason": null
10298
10436
  },
10437
+ {
10438
+ "name": "erpTaskXml",
10439
+ "description": "Get the raw ERP XML payload for a single ERP task — the XML the ERP (e.g.\nMicroinvest) sent for that task, as shown by the task detail view on the\nTasks tab. Returns null if the ERP's TasksController exposes no detail view.",
10440
+ "args": [
10441
+ {
10442
+ "name": "key",
10443
+ "description": "App key (e.g. \"microinvest\").",
10444
+ "type": {
10445
+ "kind": "NON_NULL",
10446
+ "name": null,
10447
+ "ofType": {
10448
+ "kind": "SCALAR",
10449
+ "name": "String",
10450
+ "ofType": null
10451
+ }
10452
+ },
10453
+ "defaultValue": null,
10454
+ "isDeprecated": false,
10455
+ "deprecationReason": null
10456
+ },
10457
+ {
10458
+ "name": "id",
10459
+ "description": "Task ID.",
10460
+ "type": {
10461
+ "kind": "NON_NULL",
10462
+ "name": null,
10463
+ "ofType": {
10464
+ "kind": "SCALAR",
10465
+ "name": "ID",
10466
+ "ofType": null
10467
+ }
10468
+ },
10469
+ "defaultValue": null,
10470
+ "isDeprecated": false,
10471
+ "deprecationReason": null
10472
+ }
10473
+ ],
10474
+ "type": {
10475
+ "kind": "SCALAR",
10476
+ "name": "String",
10477
+ "ofType": null
10478
+ },
10479
+ "isDeprecated": false,
10480
+ "deprecationReason": null
10481
+ },
10299
10482
  {
10300
10483
  "name": "erpDiagnostics",
10301
10484
  "description": "Run the read-only ERP connection diagnostic — the same \"Test connection\"\nchecks shown on the app's Diagnostics tab (reachability, authentication,\nconfigured catalog, categories, products, previously-imported products).\nReturns supported=false (overall \"skipped\") for ERPs without a diagnostics\nrunner. Currently implemented by Gensoft.",
@@ -58378,6 +58561,258 @@
58378
58561
  "enumValues": null,
58379
58562
  "possibleTypes": null
58380
58563
  },
58564
+ {
58565
+ "kind": "OBJECT",
58566
+ "name": "ExternalMetaData",
58567
+ "description": "One external-metadata mapping row (table `meta_data`): the link between a\nCloudCart record and the external key an integration recorded for it.",
58568
+ "isOneOf": null,
58569
+ "fields": [
58570
+ {
58571
+ "name": "id",
58572
+ "description": "Row id.",
58573
+ "args": [],
58574
+ "type": {
58575
+ "kind": "NON_NULL",
58576
+ "name": null,
58577
+ "ofType": {
58578
+ "kind": "SCALAR",
58579
+ "name": "ID",
58580
+ "ofType": null
58581
+ }
58582
+ },
58583
+ "isDeprecated": false,
58584
+ "deprecationReason": null
58585
+ },
58586
+ {
58587
+ "name": "recordType",
58588
+ "description": "CloudCart record type (e.g. product, variant, product_parameter_option).",
58589
+ "args": [],
58590
+ "type": {
58591
+ "kind": "NON_NULL",
58592
+ "name": null,
58593
+ "ofType": {
58594
+ "kind": "SCALAR",
58595
+ "name": "String",
58596
+ "ofType": null
58597
+ }
58598
+ },
58599
+ "isDeprecated": false,
58600
+ "deprecationReason": null
58601
+ },
58602
+ {
58603
+ "name": "recordId",
58604
+ "description": "CloudCart record id.",
58605
+ "args": [],
58606
+ "type": {
58607
+ "kind": "SCALAR",
58608
+ "name": "ID",
58609
+ "ofType": null
58610
+ },
58611
+ "isDeprecated": false,
58612
+ "deprecationReason": null
58613
+ },
58614
+ {
58615
+ "name": "integration",
58616
+ "description": "Source integration that wrote this row (e.g. \"microinvest\", \"internal\", an XML-import/ERP/shipping key).",
58617
+ "args": [],
58618
+ "type": {
58619
+ "kind": "SCALAR",
58620
+ "name": "String",
58621
+ "ofType": null
58622
+ },
58623
+ "isDeprecated": false,
58624
+ "deprecationReason": null
58625
+ },
58626
+ {
58627
+ "name": "externalRecordKey",
58628
+ "description": "External key/id the integration recorded for this record.",
58629
+ "args": [],
58630
+ "type": {
58631
+ "kind": "SCALAR",
58632
+ "name": "String",
58633
+ "ofType": null
58634
+ },
58635
+ "isDeprecated": false,
58636
+ "deprecationReason": null
58637
+ },
58638
+ {
58639
+ "name": "type",
58640
+ "description": "Entry kind (import, feed, sync, ...).",
58641
+ "args": [],
58642
+ "type": {
58643
+ "kind": "SCALAR",
58644
+ "name": "String",
58645
+ "ofType": null
58646
+ },
58647
+ "isDeprecated": false,
58648
+ "deprecationReason": null
58649
+ },
58650
+ {
58651
+ "name": "createdAt",
58652
+ "description": "When the mapping was created.",
58653
+ "args": [],
58654
+ "type": {
58655
+ "kind": "SCALAR",
58656
+ "name": "DateTime",
58657
+ "ofType": null
58658
+ },
58659
+ "isDeprecated": false,
58660
+ "deprecationReason": null
58661
+ },
58662
+ {
58663
+ "name": "updatedAt",
58664
+ "description": "Last update timestamp.",
58665
+ "args": [],
58666
+ "type": {
58667
+ "kind": "SCALAR",
58668
+ "name": "DateTime",
58669
+ "ofType": null
58670
+ },
58671
+ "isDeprecated": false,
58672
+ "deprecationReason": null
58673
+ }
58674
+ ],
58675
+ "inputFields": null,
58676
+ "interfaces": [],
58677
+ "enumValues": null,
58678
+ "possibleTypes": null
58679
+ },
58680
+ {
58681
+ "kind": "OBJECT",
58682
+ "name": "ExternalMetaDataEdge",
58683
+ "description": "An edge in an ExternalMetaData connection.",
58684
+ "isOneOf": null,
58685
+ "fields": [
58686
+ {
58687
+ "name": "node",
58688
+ "description": null,
58689
+ "args": [],
58690
+ "type": {
58691
+ "kind": "NON_NULL",
58692
+ "name": null,
58693
+ "ofType": {
58694
+ "kind": "OBJECT",
58695
+ "name": "ExternalMetaData",
58696
+ "ofType": null
58697
+ }
58698
+ },
58699
+ "isDeprecated": false,
58700
+ "deprecationReason": null
58701
+ },
58702
+ {
58703
+ "name": "cursor",
58704
+ "description": null,
58705
+ "args": [],
58706
+ "type": {
58707
+ "kind": "NON_NULL",
58708
+ "name": null,
58709
+ "ofType": {
58710
+ "kind": "SCALAR",
58711
+ "name": "String",
58712
+ "ofType": null
58713
+ }
58714
+ },
58715
+ "isDeprecated": false,
58716
+ "deprecationReason": null
58717
+ }
58718
+ ],
58719
+ "inputFields": null,
58720
+ "interfaces": [],
58721
+ "enumValues": null,
58722
+ "possibleTypes": null
58723
+ },
58724
+ {
58725
+ "kind": "OBJECT",
58726
+ "name": "ExternalMetaDataConnection",
58727
+ "description": "A paginated list of external-metadata mapping rows.",
58728
+ "isOneOf": null,
58729
+ "fields": [
58730
+ {
58731
+ "name": "edges",
58732
+ "description": "Edges with cursors.",
58733
+ "args": [],
58734
+ "type": {
58735
+ "kind": "NON_NULL",
58736
+ "name": null,
58737
+ "ofType": {
58738
+ "kind": "LIST",
58739
+ "name": null,
58740
+ "ofType": {
58741
+ "kind": "NON_NULL",
58742
+ "name": null,
58743
+ "ofType": {
58744
+ "kind": "OBJECT",
58745
+ "name": "ExternalMetaDataEdge",
58746
+ "ofType": null
58747
+ }
58748
+ }
58749
+ }
58750
+ },
58751
+ "isDeprecated": false,
58752
+ "deprecationReason": null
58753
+ },
58754
+ {
58755
+ "name": "nodes",
58756
+ "description": "Flat list of nodes — prefer over edges.node when cursor is not needed.",
58757
+ "args": [],
58758
+ "type": {
58759
+ "kind": "NON_NULL",
58760
+ "name": null,
58761
+ "ofType": {
58762
+ "kind": "LIST",
58763
+ "name": null,
58764
+ "ofType": {
58765
+ "kind": "NON_NULL",
58766
+ "name": null,
58767
+ "ofType": {
58768
+ "kind": "OBJECT",
58769
+ "name": "ExternalMetaData",
58770
+ "ofType": null
58771
+ }
58772
+ }
58773
+ }
58774
+ },
58775
+ "isDeprecated": false,
58776
+ "deprecationReason": null
58777
+ },
58778
+ {
58779
+ "name": "totalCount",
58780
+ "description": "Total matching rows across all pages.",
58781
+ "args": [],
58782
+ "type": {
58783
+ "kind": "NON_NULL",
58784
+ "name": null,
58785
+ "ofType": {
58786
+ "kind": "SCALAR",
58787
+ "name": "Int",
58788
+ "ofType": null
58789
+ }
58790
+ },
58791
+ "isDeprecated": false,
58792
+ "deprecationReason": null
58793
+ },
58794
+ {
58795
+ "name": "pageInfo",
58796
+ "description": "Pagination metadata.",
58797
+ "args": [],
58798
+ "type": {
58799
+ "kind": "NON_NULL",
58800
+ "name": null,
58801
+ "ofType": {
58802
+ "kind": "OBJECT",
58803
+ "name": "PageInfo",
58804
+ "ofType": null
58805
+ }
58806
+ },
58807
+ "isDeprecated": false,
58808
+ "deprecationReason": null
58809
+ }
58810
+ ],
58811
+ "inputFields": null,
58812
+ "interfaces": [],
58813
+ "enumValues": null,
58814
+ "possibleTypes": null
58815
+ },
58381
58816
  {
58382
58817
  "kind": "INPUT_OBJECT",
58383
58818
  "name": "CreateCategoryInput",
Binary file