@cloudcart/dev-mcp 0.2.17 → 0.2.19

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
@@ -10280,6 +10280,39 @@
10280
10280
  "isDeprecated": false,
10281
10281
  "deprecationReason": null
10282
10282
  },
10283
+ {
10284
+ "name": "erpDiagnostics",
10285
+ "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.",
10286
+ "args": [
10287
+ {
10288
+ "name": "key",
10289
+ "description": "ERP app key (e.g. \"gensoft\").",
10290
+ "type": {
10291
+ "kind": "NON_NULL",
10292
+ "name": null,
10293
+ "ofType": {
10294
+ "kind": "SCALAR",
10295
+ "name": "String",
10296
+ "ofType": null
10297
+ }
10298
+ },
10299
+ "defaultValue": null,
10300
+ "isDeprecated": false,
10301
+ "deprecationReason": null
10302
+ }
10303
+ ],
10304
+ "type": {
10305
+ "kind": "NON_NULL",
10306
+ "name": null,
10307
+ "ofType": {
10308
+ "kind": "OBJECT",
10309
+ "name": "ErpDiagnostics",
10310
+ "ofType": null
10311
+ }
10312
+ },
10313
+ "isDeprecated": false,
10314
+ "deprecationReason": null
10315
+ },
10283
10316
  {
10284
10317
  "name": "barsyModificators",
10285
10318
  "description": "List Barsy product modificators.",
@@ -13000,6 +13033,58 @@
13000
13033
  "isDeprecated": false,
13001
13034
  "deprecationReason": null
13002
13035
  },
13036
+ {
13037
+ "name": "executiveInsights",
13038
+ "description": "Executive insights for the store dashboard — health score + summary,\nmonth-over-month trends (revenue / orders / AOV / new customers), predictive\nalerts, top products and stuck orders. Returns { \"enabled\": false } when the\n`smart_daily_actions` plan feature is off. Cached ~20 minutes.\n\nReturned as JSON; shape:\n{ enabled, health: { score, summary }, trends: { revenue|orders|aov|new_customers: { this, last, change } },\n alerts: [{ type, icon, color, title, detail, route }], top_products: [{ id, name, units, revenue }],\n stuck_orders: { count, orders: [{ id, date_added, total }] } }",
13039
+ "args": [],
13040
+ "type": {
13041
+ "kind": "SCALAR",
13042
+ "name": "JSON",
13043
+ "ofType": null
13044
+ },
13045
+ "isDeprecated": false,
13046
+ "deprecationReason": null
13047
+ },
13048
+ {
13049
+ "name": "executiveInsightsTeaser",
13050
+ "description": "Lightweight insights teaser (store health score + open-alert count) for\ndashboard widgets. Values are null until the background warm-up has run.",
13051
+ "args": [],
13052
+ "type": {
13053
+ "kind": "NON_NULL",
13054
+ "name": null,
13055
+ "ofType": {
13056
+ "kind": "OBJECT",
13057
+ "name": "ExecutiveInsightsTeaser",
13058
+ "ofType": null
13059
+ }
13060
+ },
13061
+ "isDeprecated": false,
13062
+ "deprecationReason": null
13063
+ },
13064
+ {
13065
+ "name": "smartActionRecommendations",
13066
+ "description": "Daily smart-action recommendations for the dashboard. Returns\n{ subscribed, actions: [...] } where each action has type, title, why,\nexpected_effect and an execute_route. One action when unsubscribed, up to\nthree when the `smart_daily_actions` feature is enabled. Dismissed actions\nare hidden for the rest of the day.\n\nReturned as JSON; each action: { type, entity_id, title, why, expected_effect, execute_route: { name, query } }.",
13067
+ "args": [],
13068
+ "type": {
13069
+ "kind": "SCALAR",
13070
+ "name": "JSON",
13071
+ "ofType": null
13072
+ },
13073
+ "isDeprecated": false,
13074
+ "deprecationReason": null
13075
+ },
13076
+ {
13077
+ "name": "smartActionHistory",
13078
+ "description": "History of the last 20 smart actions the merchant executed or dismissed.\nReturns { history: [{ id, action_type, entity_id, entity_title, status,\nexpected_effect, execute_route, created_at }] }. Empty when the\n`smart_daily_actions` feature is off.",
13079
+ "args": [],
13080
+ "type": {
13081
+ "kind": "SCALAR",
13082
+ "name": "JSON",
13083
+ "ofType": null
13084
+ },
13085
+ "isDeprecated": false,
13086
+ "deprecationReason": null
13087
+ },
13003
13088
  {
13004
13089
  "name": "adScoutSettings",
13005
13090
  "description": "Get AdScout settings and credential validation status.",
@@ -41252,6 +41337,39 @@
41252
41337
  "isDeprecated": false,
41253
41338
  "deprecationReason": null
41254
41339
  },
41340
+ {
41341
+ "name": "recordSmartAction",
41342
+ "description": "Record a smart-action decision (executed or dismissed) — mirrors the\ndashboard's smart-actions/act endpoint. Recording DISMISSED hides that\nrecommendation for the rest of the day; EXECUTED logs it to history.\n\nThis does NOT perform the underlying change itself — the client follows the\nrecommendation's executeRoute to do that, then records the outcome here.",
41343
+ "args": [
41344
+ {
41345
+ "name": "input",
41346
+ "description": "The decision to record, built from a smartActionRecommendations item.",
41347
+ "type": {
41348
+ "kind": "NON_NULL",
41349
+ "name": null,
41350
+ "ofType": {
41351
+ "kind": "INPUT_OBJECT",
41352
+ "name": "RecordSmartActionInput",
41353
+ "ofType": null
41354
+ }
41355
+ },
41356
+ "defaultValue": null,
41357
+ "isDeprecated": false,
41358
+ "deprecationReason": null
41359
+ }
41360
+ ],
41361
+ "type": {
41362
+ "kind": "NON_NULL",
41363
+ "name": null,
41364
+ "ofType": {
41365
+ "kind": "OBJECT",
41366
+ "name": "RecordSmartActionResult",
41367
+ "ofType": null
41368
+ }
41369
+ },
41370
+ "isDeprecated": false,
41371
+ "deprecationReason": null
41372
+ },
41255
41373
  {
41256
41374
  "name": "saveAdScoutSettings",
41257
41375
  "description": "Save AdScout settings.",
@@ -111647,6 +111765,22 @@
111647
111765
  },
111648
111766
  "isDeprecated": false,
111649
111767
  "deprecationReason": null
111768
+ },
111769
+ {
111770
+ "name": "diagnostics",
111771
+ "description": "Whether the app exposes the read-only connection diagnostics (Test connection).",
111772
+ "args": [],
111773
+ "type": {
111774
+ "kind": "NON_NULL",
111775
+ "name": null,
111776
+ "ofType": {
111777
+ "kind": "SCALAR",
111778
+ "name": "Boolean",
111779
+ "ofType": null
111780
+ }
111781
+ },
111782
+ "isDeprecated": false,
111783
+ "deprecationReason": null
111650
111784
  }
111651
111785
  ],
111652
111786
  "inputFields": null,
@@ -112254,6 +112388,186 @@
112254
112388
  "enumValues": null,
112255
112389
  "possibleTypes": null
112256
112390
  },
112391
+ {
112392
+ "kind": "OBJECT",
112393
+ "name": "ErpDiagnostics",
112394
+ "description": "Result of a read-only ERP connection diagnostic run (the Test connection tab).",
112395
+ "isOneOf": null,
112396
+ "fields": [
112397
+ {
112398
+ "name": "overall",
112399
+ "description": "Overall verdict, derived from the worst check: ok | warning | error | skipped.",
112400
+ "args": [],
112401
+ "type": {
112402
+ "kind": "NON_NULL",
112403
+ "name": null,
112404
+ "ofType": {
112405
+ "kind": "SCALAR",
112406
+ "name": "String",
112407
+ "ofType": null
112408
+ }
112409
+ },
112410
+ "isDeprecated": false,
112411
+ "deprecationReason": null
112412
+ },
112413
+ {
112414
+ "name": "supported",
112415
+ "description": "Whether this ERP implements a diagnostics runner. When false, checks is empty and overall is \"skipped\".",
112416
+ "args": [],
112417
+ "type": {
112418
+ "kind": "NON_NULL",
112419
+ "name": null,
112420
+ "ofType": {
112421
+ "kind": "SCALAR",
112422
+ "name": "Boolean",
112423
+ "ofType": null
112424
+ }
112425
+ },
112426
+ "isDeprecated": false,
112427
+ "deprecationReason": null
112428
+ },
112429
+ {
112430
+ "name": "checks",
112431
+ "description": "Ordered list of individual checks.",
112432
+ "args": [],
112433
+ "type": {
112434
+ "kind": "NON_NULL",
112435
+ "name": null,
112436
+ "ofType": {
112437
+ "kind": "LIST",
112438
+ "name": null,
112439
+ "ofType": {
112440
+ "kind": "NON_NULL",
112441
+ "name": null,
112442
+ "ofType": {
112443
+ "kind": "OBJECT",
112444
+ "name": "ErpDiagnosticCheck",
112445
+ "ofType": null
112446
+ }
112447
+ }
112448
+ }
112449
+ },
112450
+ "isDeprecated": false,
112451
+ "deprecationReason": null
112452
+ },
112453
+ {
112454
+ "name": "message",
112455
+ "description": "Optional message (e.g. when unsupported or on an unexpected error).",
112456
+ "args": [],
112457
+ "type": {
112458
+ "kind": "SCALAR",
112459
+ "name": "String",
112460
+ "ofType": null
112461
+ },
112462
+ "isDeprecated": false,
112463
+ "deprecationReason": null
112464
+ }
112465
+ ],
112466
+ "inputFields": null,
112467
+ "interfaces": [],
112468
+ "enumValues": null,
112469
+ "possibleTypes": null
112470
+ },
112471
+ {
112472
+ "kind": "OBJECT",
112473
+ "name": "ErpDiagnosticCheck",
112474
+ "description": "A single check within an ERP diagnostic run.",
112475
+ "isOneOf": null,
112476
+ "fields": [
112477
+ {
112478
+ "name": "key",
112479
+ "description": "Machine key (e.g. \"connection\", \"authentication\", \"products\").",
112480
+ "args": [],
112481
+ "type": {
112482
+ "kind": "NON_NULL",
112483
+ "name": null,
112484
+ "ofType": {
112485
+ "kind": "SCALAR",
112486
+ "name": "String",
112487
+ "ofType": null
112488
+ }
112489
+ },
112490
+ "isDeprecated": false,
112491
+ "deprecationReason": null
112492
+ },
112493
+ {
112494
+ "name": "label",
112495
+ "description": "Human-readable label.",
112496
+ "args": [],
112497
+ "type": {
112498
+ "kind": "NON_NULL",
112499
+ "name": null,
112500
+ "ofType": {
112501
+ "kind": "SCALAR",
112502
+ "name": "String",
112503
+ "ofType": null
112504
+ }
112505
+ },
112506
+ "isDeprecated": false,
112507
+ "deprecationReason": null
112508
+ },
112509
+ {
112510
+ "name": "status",
112511
+ "description": "Check outcome: ok | warning | error | skipped.",
112512
+ "args": [],
112513
+ "type": {
112514
+ "kind": "NON_NULL",
112515
+ "name": null,
112516
+ "ofType": {
112517
+ "kind": "SCALAR",
112518
+ "name": "String",
112519
+ "ofType": null
112520
+ }
112521
+ },
112522
+ "isDeprecated": false,
112523
+ "deprecationReason": null
112524
+ },
112525
+ {
112526
+ "name": "summary",
112527
+ "description": "One-sentence description of the outcome.",
112528
+ "args": [],
112529
+ "type": {
112530
+ "kind": "NON_NULL",
112531
+ "name": null,
112532
+ "ofType": {
112533
+ "kind": "SCALAR",
112534
+ "name": "String",
112535
+ "ofType": null
112536
+ }
112537
+ },
112538
+ "isDeprecated": false,
112539
+ "deprecationReason": null
112540
+ },
112541
+ {
112542
+ "name": "details",
112543
+ "description": "Optional structured extras (counts, lists, ...).",
112544
+ "args": [],
112545
+ "type": {
112546
+ "kind": "SCALAR",
112547
+ "name": "JSON",
112548
+ "ofType": null
112549
+ },
112550
+ "isDeprecated": false,
112551
+ "deprecationReason": null
112552
+ },
112553
+ {
112554
+ "name": "hint",
112555
+ "description": "Optional merchant-facing next step.",
112556
+ "args": [],
112557
+ "type": {
112558
+ "kind": "SCALAR",
112559
+ "name": "String",
112560
+ "ofType": null
112561
+ },
112562
+ "isDeprecated": false,
112563
+ "deprecationReason": null
112564
+ }
112565
+ ],
112566
+ "inputFields": null,
112567
+ "interfaces": [],
112568
+ "enumValues": null,
112569
+ "possibleTypes": null
112570
+ },
112257
112571
  {
112258
112572
  "kind": "INPUT_OBJECT",
112259
112573
  "name": "ErpCategoryMappingInput",
@@ -119434,6 +119748,280 @@
119434
119748
  "enumValues": null,
119435
119749
  "possibleTypes": null
119436
119750
  },
119751
+ {
119752
+ "kind": "OBJECT",
119753
+ "name": "ExecutiveInsightsTeaser",
119754
+ "description": "Lightweight dashboard insights teaser — store health score and open-alert count.",
119755
+ "isOneOf": null,
119756
+ "fields": [
119757
+ {
119758
+ "name": "score",
119759
+ "description": "Store health score 0–100, or null if not yet computed (warming in background).",
119760
+ "args": [],
119761
+ "type": {
119762
+ "kind": "SCALAR",
119763
+ "name": "Int",
119764
+ "ofType": null
119765
+ },
119766
+ "isDeprecated": false,
119767
+ "deprecationReason": null
119768
+ },
119769
+ {
119770
+ "name": "alertsCount",
119771
+ "description": "Number of open predictive alerts, or null if not yet computed.",
119772
+ "args": [],
119773
+ "type": {
119774
+ "kind": "SCALAR",
119775
+ "name": "Int",
119776
+ "ofType": null
119777
+ },
119778
+ "isDeprecated": false,
119779
+ "deprecationReason": null
119780
+ }
119781
+ ],
119782
+ "inputFields": null,
119783
+ "interfaces": [],
119784
+ "enumValues": null,
119785
+ "possibleTypes": null
119786
+ },
119787
+ {
119788
+ "kind": "OBJECT",
119789
+ "name": "RecordSmartActionResult",
119790
+ "description": "Result of recording a smart-action decision.",
119791
+ "isOneOf": null,
119792
+ "fields": [
119793
+ {
119794
+ "name": "success",
119795
+ "description": "True when the decision was recorded.",
119796
+ "args": [],
119797
+ "type": {
119798
+ "kind": "NON_NULL",
119799
+ "name": null,
119800
+ "ofType": {
119801
+ "kind": "SCALAR",
119802
+ "name": "Boolean",
119803
+ "ofType": null
119804
+ }
119805
+ },
119806
+ "isDeprecated": false,
119807
+ "deprecationReason": null
119808
+ },
119809
+ {
119810
+ "name": "error",
119811
+ "description": "Error message when success is false (e.g. validation).",
119812
+ "args": [],
119813
+ "type": {
119814
+ "kind": "SCALAR",
119815
+ "name": "String",
119816
+ "ofType": null
119817
+ },
119818
+ "isDeprecated": false,
119819
+ "deprecationReason": null
119820
+ }
119821
+ ],
119822
+ "inputFields": null,
119823
+ "interfaces": [],
119824
+ "enumValues": null,
119825
+ "possibleTypes": null
119826
+ },
119827
+ {
119828
+ "kind": "ENUM",
119829
+ "name": "SmartActionType",
119830
+ "description": "Type of smart action — use the `type` field of a smartActionRecommendations item.",
119831
+ "isOneOf": null,
119832
+ "fields": null,
119833
+ "inputFields": null,
119834
+ "interfaces": null,
119835
+ "enumValues": [
119836
+ {
119837
+ "name": "RESTOCK",
119838
+ "description": null,
119839
+ "isDeprecated": false,
119840
+ "deprecationReason": null
119841
+ },
119842
+ {
119843
+ "name": "PAUSE_CAMPAIGN",
119844
+ "description": null,
119845
+ "isDeprecated": false,
119846
+ "deprecationReason": null
119847
+ },
119848
+ {
119849
+ "name": "CREATE_BUNDLE",
119850
+ "description": null,
119851
+ "isDeprecated": false,
119852
+ "deprecationReason": null
119853
+ },
119854
+ {
119855
+ "name": "FOLLOW_UP_ABANDONED",
119856
+ "description": null,
119857
+ "isDeprecated": false,
119858
+ "deprecationReason": null
119859
+ },
119860
+ {
119861
+ "name": "ACTIVATE_DISCOUNT",
119862
+ "description": null,
119863
+ "isDeprecated": false,
119864
+ "deprecationReason": null
119865
+ },
119866
+ {
119867
+ "name": "SEND_WINBACK",
119868
+ "description": null,
119869
+ "isDeprecated": false,
119870
+ "deprecationReason": null
119871
+ },
119872
+ {
119873
+ "name": "LOW_RATING_PRODUCT",
119874
+ "description": null,
119875
+ "isDeprecated": false,
119876
+ "deprecationReason": null
119877
+ },
119878
+ {
119879
+ "name": "UPSELL_OPPORTUNITY",
119880
+ "description": null,
119881
+ "isDeprecated": false,
119882
+ "deprecationReason": null
119883
+ },
119884
+ {
119885
+ "name": "ENABLE_CROSS_SELL",
119886
+ "description": null,
119887
+ "isDeprecated": false,
119888
+ "deprecationReason": null
119889
+ },
119890
+ {
119891
+ "name": "REACTIVATE_SEGMENT",
119892
+ "description": null,
119893
+ "isDeprecated": false,
119894
+ "deprecationReason": null
119895
+ },
119896
+ {
119897
+ "name": "PRICE_DROP_ALERT",
119898
+ "description": null,
119899
+ "isDeprecated": false,
119900
+ "deprecationReason": null
119901
+ }
119902
+ ],
119903
+ "possibleTypes": null
119904
+ },
119905
+ {
119906
+ "kind": "ENUM",
119907
+ "name": "SmartActionStatus",
119908
+ "description": "Outcome recorded for a smart action.",
119909
+ "isOneOf": null,
119910
+ "fields": null,
119911
+ "inputFields": null,
119912
+ "interfaces": null,
119913
+ "enumValues": [
119914
+ {
119915
+ "name": "EXECUTED",
119916
+ "description": null,
119917
+ "isDeprecated": false,
119918
+ "deprecationReason": null
119919
+ },
119920
+ {
119921
+ "name": "DISMISSED",
119922
+ "description": null,
119923
+ "isDeprecated": false,
119924
+ "deprecationReason": null
119925
+ }
119926
+ ],
119927
+ "possibleTypes": null
119928
+ },
119929
+ {
119930
+ "kind": "INPUT_OBJECT",
119931
+ "name": "RecordSmartActionInput",
119932
+ "description": "Input for recordSmartAction — typically built from a smartActionRecommendations\nitem: copy its `type` → actionType, `entity_id` → entityId, plus the merchant's\nEXECUTED/DISMISSED decision.",
119933
+ "isOneOf": false,
119934
+ "fields": null,
119935
+ "inputFields": [
119936
+ {
119937
+ "name": "actionType",
119938
+ "description": "Action type (the recommendation's `type`).",
119939
+ "type": {
119940
+ "kind": "NON_NULL",
119941
+ "name": null,
119942
+ "ofType": {
119943
+ "kind": "ENUM",
119944
+ "name": "SmartActionType",
119945
+ "ofType": null
119946
+ }
119947
+ },
119948
+ "defaultValue": null,
119949
+ "isDeprecated": false,
119950
+ "deprecationReason": null
119951
+ },
119952
+ {
119953
+ "name": "entityId",
119954
+ "description": "ID of the entity the action targets (product, campaign, segment, ...).",
119955
+ "type": {
119956
+ "kind": "NON_NULL",
119957
+ "name": null,
119958
+ "ofType": {
119959
+ "kind": "SCALAR",
119960
+ "name": "Int",
119961
+ "ofType": null
119962
+ }
119963
+ },
119964
+ "defaultValue": null,
119965
+ "isDeprecated": false,
119966
+ "deprecationReason": null
119967
+ },
119968
+ {
119969
+ "name": "status",
119970
+ "description": "Whether the merchant executed or dismissed the action.",
119971
+ "type": {
119972
+ "kind": "NON_NULL",
119973
+ "name": null,
119974
+ "ofType": {
119975
+ "kind": "ENUM",
119976
+ "name": "SmartActionStatus",
119977
+ "ofType": null
119978
+ }
119979
+ },
119980
+ "defaultValue": null,
119981
+ "isDeprecated": false,
119982
+ "deprecationReason": null
119983
+ },
119984
+ {
119985
+ "name": "entityTitle",
119986
+ "description": "Optional human label of the entity.",
119987
+ "type": {
119988
+ "kind": "SCALAR",
119989
+ "name": "String",
119990
+ "ofType": null
119991
+ },
119992
+ "defaultValue": null,
119993
+ "isDeprecated": false,
119994
+ "deprecationReason": null
119995
+ },
119996
+ {
119997
+ "name": "expectedEffect",
119998
+ "description": "Optional expected-effect text carried from the recommendation.",
119999
+ "type": {
120000
+ "kind": "SCALAR",
120001
+ "name": "String",
120002
+ "ofType": null
120003
+ },
120004
+ "defaultValue": null,
120005
+ "isDeprecated": false,
120006
+ "deprecationReason": null
120007
+ },
120008
+ {
120009
+ "name": "executeRoute",
120010
+ "description": "Optional admin route descriptor carried from the recommendation (e.g. {name, query}).",
120011
+ "type": {
120012
+ "kind": "SCALAR",
120013
+ "name": "JSON",
120014
+ "ofType": null
120015
+ },
120016
+ "defaultValue": null,
120017
+ "isDeprecated": false,
120018
+ "deprecationReason": null
120019
+ }
120020
+ ],
120021
+ "interfaces": null,
120022
+ "enumValues": null,
120023
+ "possibleTypes": null
120024
+ },
119437
120025
  {
119438
120026
  "kind": "ENUM",
119439
120027
  "name": "XmlFeedGeneratorFilter",
Binary file